Skip to content

Instantly share code, notes, and snippets.

@claco
Created October 2, 2010 17:31
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 claco/607813 to your computer and use it in GitHub Desktop.
Save claco/607813 to your computer and use it in GitHub Desktop.
export PS1="\[\033[38m\]\u@\h\[\033[01;34m\] \w \[\033[31m\]\`ruby -e \"print (%x{git branch 2> /dev/null}.each_line.grep(/^\*/).first || '').gsub(/^$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment