diff options
Diffstat (limited to 'files/etc/bash.bashrc')
-rw-r--r-- | files/etc/bash.bashrc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/files/etc/bash.bashrc b/files/etc/bash.bashrc index 8faf820..27686d6 100644 --- a/files/etc/bash.bashrc +++ b/files/etc/bash.bashrc @@ -32,13 +32,13 @@ fi #esac # enable bash completion in interactive shells -#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 +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 # if the command-not-found package is installed, use it if [ -x /usr/lib/command-not-found -o -x /usr/share/command-not-found/command-not-found ]; then |