lion vim高亮 和 brew安装django
mac下shell的高亮
http://goddy128.iteye.com/blog/537683
编辑 ~/.bash_profile, 加入以下代码:Bash代码 export CLICOLOR=1 export LSCOLORS=gxfxaxdxcxegedabagacad 保存,然后重启terminal,搞定,恢复正常了.
export ARCHFLAGS="-arch x86_64"
# Path ------------------------if [ -d ~/.local/bin ]; then export PATH=~/.local/bin:$PATHfi# Python path -----------------------------------------------------if [ -d ~/.local/lib/python2.7/site-packages ]; then export PYTHONPATH=~/.local/lib/python2.7/site-packages:$PYTHONPATHfi
# Turn on advanced bash completion if the file existsif [ -f /usr/local/etc/bash_completion ]; then . /usr/local/etc/bash_completionfi# Locate virtualenvwrapper binaryif [ -f ~/.local/bin/virtualenvwrapper.sh ]; then export VENVWRAP=~/.local/bin/virtualenvwrapper.shfiif [ ! -z $VENVWRAP ]; then # virtualenvwrapper ------------------------------------------- # make sure env directory exits; else create it [ -d $HOME/sites/env ] || mkdir -p $HOME/sites/env export WORKON_HOME=$HOME/sites/env source $VENVWRAP # virtualenv -------------------------------------------------- export VIRTUALENV_USE_DISTRIBUTE=true # pip --------------------- export PIP_VIRTUALENV_BASE=$WORKON_HOME export PIP_REQUIRE_VIRTUALENV=true export PIP_RESPECT_VIRTUALENV=true export PIP_DOWNLOAD_CACHE=$HOME/.pip/cachefi
proj_name=${VIRTUAL_ENV##*/}# Add the active project to the PYTHONPATHif [ -d ~/sites/env/$proj_name/lib/python2.7/site-packages ]; then add2virtualenv ~/sites/env/$proj_name/lib/python2.7/site-packagesfi# "cd" into the virtualenv, or its "project" folder if there is oneif [ -d ~/sites/env/$proj_name/project ]; then cd ~/sites/env/$proj_name/projectelse cd ~/sites/env/$proj_namefi