-
-
Save anonymous/04d599511795d62561e226d8df0e1295 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -f "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh" ]; then | |
__GIT_PROMPT_DIR=$(brew --prefix)/opt/bash-git-prompt/share | |
source "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh" | |
fi | |
export GIT_PS1_SHOWSTASHSTATE='T' | |
export GIT_PS1_SHOWUNTRACKEDFILES='T' | |
export GIT_PS1_SHOWUPSTREAM="auto" | |
export PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment