Re: why bash completion sometimes doesn't work?
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"
Reply to: