If you're using RHEL or CentOS and wondering why
/etc/bash_completion isn't available, you have to install it from
another source:
http://download.fedora.redhat.com/pub/epel/5/i386/repoview/bash-completion.html
Debian users are spoiled:
apt-get install bash-completion
To use this once installed, add the following to the end of your
~/.bashrc file, in a place that is only evaluated if in an
interactive shell:
[ -f /etc/bash_completion ] && . /etc/bash_completion
If you happen to still be using Tcsh instead of Bash, and you're on Debian, check out my debian-tcsh.
© Copyright Neil Van Dyke Contact