If I start typing a command like
apt-g after hitting tab, the shell completes the command to
apt-get, but for the second part of the command like
install, if I enter some characters like
insta, hitting tab, doesn't complete it to
Another example: after I enter
sudo hitting tab doesn't complete anything. for example:
sudo apt-ge [tab] and nothing.
I installed Ubuntu using mini iso (40MB network installer), so maybe there is a config that I missed!
I'v added this code to my
.bashrc and it didn't work:
if ! shopt -oq posix; then if [ -f /usr/share/bash-completion/bash_completion ]; then . /usr/share/bash-completion/bash_completion elif [ -f /etc/bash_completion ]; then . /etc/bash_completion fi fi
.bashrc permissions are
source .bashrc after the changes but it's still not working.
<property name="<Super>Tab" type="string" value="switch_window_key"/>
<property name="<Super>Tab" type="string" value="empty"/>
Doesn't makes any difference.