mirror of
https://github.com/kremalicious/dotfiles.git
synced 2024-11-22 09:47:21 +01:00
add check for brew installed bash completion
This commit is contained in:
parent
4d9b4c7264
commit
69b652b103
@ -39,8 +39,10 @@ shopt -s cdspell
|
|||||||
|
|
||||||
# Add tab completion for many Bash commands
|
# Add tab completion for many Bash commands
|
||||||
if which brew > /dev/null && [ -f "$(brew --prefix)/etc/bash_completion" ]; then
|
if which brew > /dev/null && [ -f "$(brew --prefix)/etc/bash_completion" ]; then
|
||||||
source "$(brew --prefix)/etc/bash_completion"
|
source "$(brew --prefix)/etc/bash_completion";
|
||||||
fi
|
elif [ -f /etc/bash_completion ]; then
|
||||||
|
source /etc/bash_completion;
|
||||||
|
fi;
|
||||||
|
|
||||||
# Set architecture flags
|
# Set architecture flags
|
||||||
export ARCHFLAGS="-arch x86_64"
|
export ARCHFLAGS="-arch x86_64"
|
||||||
|
Loading…
Reference in New Issue
Block a user