# Check for interactive bash and that we haven't already been sourced. if [ -z "$BASH_VERSION" -o -z "$PS1" -o -n "$BASH_COMPLETION_COMPAT_DIR" ]; then return fi # source system wide config file . /etc/sysconfig/bash-completion # source user config file if available, if [ -f $HOME/.bash_completion ]; then . $HOME/.bash_completion fi if [ -n "$ENABLE_BASH_COMPLETION" ]; then . /usr/share/bash-completion/bash_completion fi