open a terminal and type
sudo gedit /etc/bash.bashrc
find the lines
#if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
# . /etc/bash_completion
#fi
uncomment them by removing the # character (the will look this way)
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
save the file, close gedit, close the terminal.
open th terminal again and bash completion should be work correctly
To enable bash competion in maverick:
open a terminal and type
sudo gedit /etc/bash.bashrc
find the lines completion ] && ! shopt -oq posix; then completion
#if [ -f /etc/bash_
# . /etc/bash_
#fi
uncomment them by removing the # character (the will look this way) completion ] && ! shopt -oq posix; then completion
if [ -f /etc/bash_
. /etc/bash_
fi
save the file, close gedit, close the terminal.
open th terminal again and bash completion should be work correctly