1
0
mirror of https://github.com/kremalicious/dotfiles.git synced 2024-06-25 18:56:21 +02:00

add check for brew installed bash completion

This commit is contained in:
Matthias Kretschmann 2014-06-16 11:01:01 +02:00
parent 4d9b4c7264
commit 69b652b103

View File

@ -39,8 +39,10 @@ shopt -s cdspell
# Add tab completion for many Bash commands
if which brew > /dev/null && [ -f "$(brew --prefix)/etc/bash_completion" ]; then
source "$(brew --prefix)/etc/bash_completion"
fi
source "$(brew --prefix)/etc/bash_completion";
elif [ -f /etc/bash_completion ]; then
source /etc/bash_completion;
fi;
# Set architecture flags
export ARCHFLAGS="-arch x86_64"