Created
January 29, 2015 16:16
-
-
Save bchartoff/985454b16743b9de680f to your computer and use it in GitHub Desktop.
My .bash_profile
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
#aliases | |
alias ll="ls -lha" | |
alias h=history | |
alias hg="history | grep" | |
alias ..="cd .." | |
#Path | |
export PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/local/git/bin:/bin:/usr/sbin:/sbin:~/bin | |
#Sublime | |
export EDITOR='sublime -w' | |
#virtualenvs | |
export WORKON_HOME=~/Envs | |
source /usr/local/bin/virtualenvwrapper.sh | |
#prompt | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
PS1='\[\033[01;32m\]\u@\[\033[01;36m\]\W\[\033[01;33m\]$(parse_git_branch)\[\033[01;34m\] \$\[\033[00m\] ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment