Skip to content

Instantly share code, notes, and snippets.

@vidmantas
Created December 9, 2010 13:41
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 vidmantas/734714 to your computer and use it in GitHub Desktop.
Save vidmantas/734714 to your computer and use it in GitHub Desktop.
# This one works way better:
PS1='\[$(tput sgr0)$(tput setaf 5)\]\w\[$(tput sgr0)$(tput setaf 2)\]$(__git_ps1 "[%s]") \[$(tput
sgr0)\]$ '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment