Hi, I have a pretty peculiar problem with bash completion. Before, it used to work very well. For example, if I wrote
sud[tab] apt-[tab] ins[tab] pyth[tab]3-[tab][tab]num[tab]
it would complete this to
sudo apt-get install python3-numpy, showing a list of possible completions at the [tab][tab]
Earlier today, I installed Ubuntu-gnome 16.04. Now, bash completes only filenames and executable names well:
sud[tab] becomes sudo
apt-[tab] becomes apt-get
cd [tab][tab] lists all subdirectories
nano [tab][tab] lists all files
However, more intricate completions - such as command-specific completions - won't work:
sudo apt-[tab] won't work
sudo apt-get inst[tab] won't work
sudo apt-get install python3-[tab][tab] won't work either.
sudo apt-get [tab][tab] will simply list all files
Can someone help me get all those working? I'd be much appreciative. Thanks.
برچسب:
نویسنده: استخدام کار