工作mac上的bash_profile配置
```
> cat .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
# app
export RILI_APP_SETTINGS=rili.config.DevelopmentConfig
```
网友评论