Created
July 28, 2013 23:46
-
-
Save nicksergeant/6101112 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| function git_prompt | |
| set -l CUR (git currentbranch ^/dev/null) | |
| if test $CUR | |
| printf ' \033[0;37mon ' | |
| printf '\033[0;35m%s' $CUR | |
| printf ' \033[0;32m' | |
| git_prompt_status | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment