Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #243642
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: why bash completion sometimes doesn't work? |
| Date | 2022-01-03 22:50 +0100 |
| Message-ID | <DBDnk-53X-11@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> <DBBYd-4lx-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon 03 Jan 2022 at 20:12:50 (+0000), Long Wind wrote: > 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" Type: ifdown <TAB><TAB> and you should get a list that will contain at least "lo". Cancel that line and type: ip a to see what interfaces you actually have. Cheers, David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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