Last active
December 16, 2015 08:49
-
-
Save philipjkim/5408923 to your computer and use it in GitHub Desktop.
bash profile (customized prompt with git info.)
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
alias ll='ls -alG' | |
source /Users/pj/.rvm/scripts/rvm | |
source ~/.git-prompt.sh | |
GIT_PS1_SHOWDIRTYSTATE="true" | |
GIT_PS1_SHOWUNTRACKEDFILES="true" | |
GIT_PS1_SHOWUPSTREAM="verbose" | |
PS1='$(__git_ps1 " (%s) ")\[\033[35m\]\t\[\033[m\]-\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\n\$ ' | |
export TERM=xterm-256color | |
export SVN_EDITOR=/usr/bin/vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git-prompt.sh
is at https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh