美文网首页
工作mac上的bash_profile配置

工作mac上的bash_profile配置

作者: wasw100 | 来源:发表于2015-05-13 11:34 被阅读0次

    工作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
    ```
    

    相关文章

      网友评论

          本文标题:工作mac上的bash_profile配置

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