mac os x下.bash_profile配置

mac os x下.bash_profile配置

PS1="\u@mac:\w > "
export CLICOLOR="xterm-color"
export LSCOLORS="gxfxcxdxbxegedabagacad"

# aliases
alias cd..="cd .."
alias l="ls"
alias ll="ls -l"
alias la="ls -al"
alias subl='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'
alias thg="/Users/xyz/Documents/TortoiseHg/thg"

export WORKON_HOME=$HOME/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh

# 自动补全, https://github.com/bobthecow/git-flow-completion/wiki/Install-Bash-git-completion
if [ -f `brew --prefix`/etc/bash_completion ]; then
    . `brew --prefix`/etc/bash_completion
fi

# install for lxml
export C_INCLUDE_PATH=/usr/local/Cellar/libxml2/2.9.1/include/libxml2:$C_INCLUDE_PATH

# go
GOPATH=/usr/local/Cellar/go/1.0.2/src/pkg/code.google.com/p/
export GOPATH

你可能感兴趣的:(mac os x下.bash_profile配置)