Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #243638

Re: why bash completion sometimes doesn't work?

From Long Wind <longwind2@yahoo.com>
Newsgroups linux.debian.user
Subject Re: why bash completion sometimes doesn't work?
Date 2022-01-03 21:20 +0100
Message-ID <DBBYd-4lx-1@gated-at.bofh.it> (permalink)
References <DBo4V-4oV-3@gated-at.bofh.it> <DBo4V-4oV-1@gated-at.bofh.it> <DBuDn-8jx-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Thank Greg!  i use bash 5.0-4 and bash-completion 1:2.8-6
all bash setting for root is default except 3 alias 

 alias rm='rm -i'
 alias cp='cp -i'
 alias mv='mv -i'

i type "ifdown wl" and press Tab, nothing happens
there's only one wireless device in /etc/network/interfaces
it shall complete command to "ifdown wlx12345" 

i've read /etc/skel/.bashrc, programmable completion seems enabled by default
and it works for other commands, e.g. i type "dhclient enp" and Tab, it becomes "dhclient enp0s1" 

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

why bash completion sometimes doesn't work? Long Wind <longwind2@yahoo.com> - 2022-01-03 06:30 +0100
  Re: why bash completion sometimes doesn't work? Greg Wooledge <greg@wooledge.org> - 2022-01-03 13:30 +0100
    Re: why bash completion sometimes doesn't work? Richmond <richmond@criptext.com> - 2022-01-03 15:50 +0100
    Re: why bash completion sometimes doesn't work? Long Wind <longwind2@yahoo.com> - 2022-01-03 21:20 +0100
      Re: why bash completion sometimes doesn't work? Greg Wooledge <greg@wooledge.org> - 2022-01-03 21:30 +0100
      Re: why bash completion sometimes doesn't work? David Wright <deblis@lionunicorn.co.uk> - 2022-01-03 22:50 +0100
        Re: why bash completion sometimes doesn't work? Long Wind <longwind2@yahoo.com> - 2022-01-04 01:00 +0100
          Re: why bash completion sometimes doesn't work? Greg Wooledge <greg@wooledge.org> - 2022-01-04 03:30 +0100
            Re: why bash completion sometimes doesn't work? Long Wind <longwind2@yahoo.com> - 2022-01-04 03:50 +0100
              Re: why bash completion sometimes doesn't work? Greg Wooledge <greg@wooledge.org> - 2022-01-04 04:00 +0100
            Re: why bash completion sometimes doesn't work? David Wright <deblis@lionunicorn.co.uk> - 2022-01-04 20:40 +0100

csiph-web