美文网首页
My Linux Env

My Linux Env

作者: 霡霂976447044 | 来源:发表于2020-10-15 18:14 被阅读0次

    $HOME/.zshsrc

    if [ ! -d "$HOME/.baloneo_env" ];then
        source $HOME/.baloneo_env
    fi
    

    $HOME/.baloneo_env

    # Python
    export PATH=$PATH:$HOME/.local/bin/ 
    export PYDOUBAN=https://pypi.douban.com/simple
    alias activate="source .venv/bin/activate"
    
    # Flutter
    export PATH=$PATH:/home/baloneo/software/flutter/bin
    export PUB_HOSTED_URL=https://pub.flutter-io.cn
    export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
    export PATH=$PATH:/home/baloneo/software/dart-sdk/bin
    
    # go
    export PATH=$PATH:/home/baloneo/software/go/bin
    export PATH=$PATH:/home/baloneo/go/bin
    alias godocc='echo "running on port 9090";godoc -http=:9090 -index'
    alias gopmodproxy='export GOPROXY="goproxy.io";export GO111MODULE=on'
    export GO111MODULE=on
    
    # Nodejs
    export PATH=$PATH:/home/baloneo/software/nodejs/bin
    
    # proxy alias
    alias proxy_https='export http_proxy=http://127.0.0.1:1082;export https_proxy=https://127.0.0.1:1082'
    alias git-acp='git add . && git commit -m "-" && git push'
    git config --global log.date iso
    # protoc
    export PATH=$PATH:/home/baloneo/software/protoc/bin
    
    # snap
    export PATH=$PATH:/snap/bin
    # comment
    

    相关文章

      网友评论

          本文标题:My Linux Env

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