Fixing Error when starting Terminal after installing Bash-IT
parent
dab822be9f
commit
c5e8349f69
|
|
@ -20,8 +20,8 @@ if [ $(uname) = "Darwin" ] && command -v brew &>/dev/null ; then
|
||||||
. "$BREW_PREFIX"/etc/bash_completion
|
. "$BREW_PREFIX"/etc/bash_completion
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# homebrew/versions/bash-completion2 (required for projects.completion.bash) is installed to this path
|
# homebrew/versions/bash-completion2 (required for projects.completion.bash) is installed to this path
|
||||||
if [ -f "$BREW_PREFIX"/share/bash-completion/bash_completion ]; then
|
if [ "${BASH_VERSINFO}" -ge 4 ] && [ -f "$BREW_PREFIX"/share/bash-completion/bash_completion ]; then
|
||||||
. "$BREW_PREFIX"/share/bash-completion/bash_completion
|
. "$BREW_PREFIX"/share/bash-completion/bash_completion
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue