Commit f4fec354 authored by nimrod's avatar nimrod
Browse files

- Include bash completion only when the shell is Bash.

parent 236955bd
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -28,10 +28,15 @@ if [ -x /usr/bin/dircolors ]; then
    alias grep='grep --color=auto'
fi

if [ -n "$BASH" ]
then
    if [ -f /etc/bash_completion ]; then
        . /etc/bash_completion
    fi

    [ -d $HOME/.bash_completion.d ] && . $HOME/.bash_completion.d/*
fi

if [ -f /usr/local/bin/virtualenvwrapper.sh ]
then
    . /usr/local/bin/virtualenvwrapper.sh