Skip to content

Instantly share code, notes, and snippets.

@davidrupp
Created July 23, 2012 03:15
Show Gist options
  • Save davidrupp/3161858 to your computer and use it in GitHub Desktop.
Save davidrupp/3161858 to your computer and use it in GitHub Desktop.
bash prompt with git branch ... my way
PS1='\h:\W$(__git_ps1 "(%s)") \u$ '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment