Created
December 20, 2013 21:39
-
-
Save jhorman/8062083 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
# Git prompt | |
export GIT_PS1_SHOWDIRTYSTATE=1 GIT_PS1_SHOWUNTRACKEDFILES=1 GIT_PS1_SHOWSTASHSTATE=1 | |
export PS1='\w\[\033[01;33m\]$(__git_ps1)\[\033[00m\] \$ ' | |
# less syntax highlighting | |
# brew install source-highlight | |
export LESSOPEN="| src-hilite-lesspipe.sh %s" | |
export LESS=' -R ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment