osx/custompkg/root/etc/skel/Library/bashrc.d/200.git-prompt.sh

6 lines
191 B
Bash
Raw Normal View History

2016-10-08 00:37:22 +00:00
if [ -f "$(brew --prefix bash-git-prompt)/share/gitprompt.sh" ]; then
GIT_PROMPT_THEME=Default
GIT_PROMPT_ONLY_IN_REPO=1
source "$(brew --prefix bash-git-prompt)/share/gitprompt.sh"
fi