Skip to content

Instantly share code, notes, and snippets.

/out.txt Secret

Created January 19, 2018 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/04d599511795d62561e226d8df0e1295 to your computer and use it in GitHub Desktop.
Save anonymous/04d599511795d62561e226d8df0e1295 to your computer and use it in GitHub Desktop.
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