Skip to content

Instantly share code, notes, and snippets.

@ItsMeAra
Created January 8, 2013 06:25
Show Gist options
  • Save ItsMeAra/4481704 to your computer and use it in GitHub Desktop.
Save ItsMeAra/4481704 to your computer and use it in GitHub Desktop.
Terminal hotness via http://markdotto.com/2012/10/18/terminal-hotness/ open ~/.bash_profile in your favorite editor, and add the following snippet:
export PS1='\e[0:35m⌘\e[m \e[0:36m\w/\e[m \e[0:33m`git branch 2> /dev/null | grep -e ^* | sed -E s/^\\\\\*\ \(.+\)$/\(\\\\\1\)\ /`\e[m'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment