Blog: 2010-04

Latest  2010  2009  2008  2007  2006  2005  2004  2003  2002  2001
-08  -07  -06  -05  -04  -03  -02  -01

/etc/bash_completion for RHEL/CentOS

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.

Earlier to... 2010-03

© Copyright Neil Van Dyke      Contact