Last active
August 29, 2015 14:08
-
-
Save jesperronn/f9265412b99b2d2a5535 to your computer and use it in GitHub Desktop.
Color command prompt (git aware)
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
export PS1='$(tput dim)\t $(tput setaf 5)[\w]$(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
I keep my prompt as simple as possible. I like simple. So I don't want to do all sorts of magic git parsing to figure out remote changes, etc. Screenshot: