diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-03-09 14:11:39 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-03-09 14:11:39 -0300 |
commit | b3a0b2f9a87f0d96a85794d6c14e7f505907ab0c (patch) | |
tree | b0cac38fc83af93eb94d9767b66bc6590821679b /files/etc/bash.bashrc | |
parent | 3411ba1b276e2b161d718fe3ebd4770515d9965d (diff) | |
download | puppet-nodo-b3a0b2f9a87f0d96a85794d6c14e7f505907ab0c.tar.gz puppet-nodo-b3a0b2f9a87f0d96a85794d6c14e7f505907ab0c.tar.bz2 |
Fixes for bashrc
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 |