#!/bin/sh # system-wide activation if [ "$PS1" ] && [ -n "$BASH" ]; then # 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 . /etc/bash_completion fi fi