Skip to content

Instantly share code, notes, and snippets.

@gvisoc
Created December 23, 2022 10:51
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 gvisoc/e5bce402a64916f0db5005b913e7275d to your computer and use it in GitHub Desktop.
Save gvisoc/e5bce402a64916f0db5005b913e7275d to your computer and use it in GitHub Desktop.
# User specific environment and startup programs
. /usr/share/git-core/contrib/completion/git-prompt.sh
export GIT_PS1_SHOWDIRTYSTATE=1
export PS1='\[\e[1;32m\][\[\e[m\]l:$?, a:$(jobs | wc -l | xargs)\[\e[1;32m\]]\[\e[m\] \w \[\e[1;33m\]$(__git_ps1 "(%s)")\[\e[m\] '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment