fix slow bash startup from overuse of brew --prefix
This commit is contained in:
parent
dfd824a443
commit
97e2c31a47
@ -1,5 +1,7 @@
|
||||
if [ -f "$(brew --prefix bash-git-prompt)/share/gitprompt.sh" ]; then
|
||||
BGPPREFIX="$HOME/Library/Homebrew/opt/bash-git-prompt"
|
||||
|
||||
if [ -f "$BGPPREFIX/share/gitprompt.sh" ]; then
|
||||
GIT_PROMPT_THEME=Default
|
||||
GIT_PROMPT_ONLY_IN_REPO=1
|
||||
source "$(brew --prefix bash-git-prompt)/share/gitprompt.sh"
|
||||
source "$BGPPREFIX/share/gitprompt.sh"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user