You are not logged in.
Hello
I use bash and have installed bash-completion. Bash's tab-completion works everywhere except pacman package names. When I write `sudo pacman -S teleg<tab>` does not complete telegram. Bash's version is 5.1.16.
Offline
Did you test the (autocompletion) behavior w/o sudo?
You can log the bash autocompletion:
script -B /tmp/bash.script -c "bash -x"
sudo pacman -S teleg<tab> # wait until the output stops
<ctrl+c>
exit
Offline
Did you test the (autocompletion) behavior w/o sudo?
I tested just now. It works without sudo.
You can log the bash autocompletion:
What should I do with this code?
Offline
Look at it to see where things fall apart.
Or post it for public review.
Because of the sudo condition:
type sudo
Offline
1 reza@rezarch ~$ type sudo
sudo is /usr/bin/sudo
Offline