美文网首页
mac os x下.bash_profile配置

mac os x下.bash_profile配置

作者: wasw100 | 来源:发表于2015-07-31 10:18 被阅读0次

    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配置

          本文链接:https://www.haomeiwen.com/subject/ljxvqttx.html