Last active
August 29, 2015 14:15
-
-
Save lukebussey/cec52eb14f5611b622d2 to your computer and use it in GitHub Desktop.
Shell Prompt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/Workspace/foundationify/ (master) | |
# B/w | |
#export PS1=' \w `git branch 2> /dev/null | grep -e ^* | sed -E s/^\\\\\*\ \(.+\)$/\(\\\\\1\)\ /`\u\$ ' | |
# Color | |
export PS1='\[$(tput setaf 5)\] \[$(tput setaf 6)\]\w\[$(tput sgr0)\] `git branch 2> /dev/null | grep -e ^* | sed -E s/^\\\\\*\ \(.+\)$/\(\\\\\1\)\ /`\u\$\[$(tput sgr0)\] ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment