Auto-completion in bash (with Tab) works on folders, but not with files.
- I'm running Ubuntu 13.10
- I haven't touched my .bashrc file
This is how the bottom part of the .bashrc file looks, with the bash-completion part installed and updated:
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
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
Any ideas?