Bash Autocomplete Weirdness

Status
Not open for further replies.

mneylon

Administrator
Staff member
On most linux systems I can use:
Code:
cd ~firstletterusername
and then hit TAB to get a list of possible usernames etc.,

For some bizarre reason this isn't working on a Ubuntu 10.10

"Normal" autocomplete for commands is working fine, so I'm confused :confused:
 

php.allstar

New Member
I also had this problem.

Luckily enough i bookmarked the solution!

Use the fopllowing command to open your bash config file:

Code:
Sudo vi /etc/bash.bashrc

find these lines:

Code:
#if [ -f /etc/bash_completion ]; then
#    . /etc/bash_completion
#fi

remove the comments before the lines, save the file and you should be good to go, worked for me.
 
Status
Not open for further replies.
Top