-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc.local
45 lines (35 loc) · 1.27 KB
/
.zshrc.local
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
export ANDROID_SDK_ROOT="/usr/local/share/android-sdk"
export ANDROID_HOME=/usr/local/share/android-sdk
export PYTHON_BUILD_MIRROR_URL="http://pyenv.qiniudn.com/pythons/"
export FLUTTER_STORAGE_BASE_URL="https://storage.flutter-io.cn"
export PATH="$HOME/flutter/bin:$PATH"
export GOPATH="$HOME/go"
export PATH="$GOPATH/bin:$PATH"
export PATH="/usr/local/share/android-sdk/emulator:$PATH"
export JAVA_HOME=`/usr/libexec/java_home`
function auto_pipenv_shell {
if [ ! -n "${PIPENV_ACTIVE+1}" ]; then
if [ -f "Pipfile" ] ; then
pipenv shell
fi
fi
}
function cd {
builtin cd "$@"
auto_pipenv_shell
}
auto_pipenv_shell
export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles
export SASS_BINARY_SITE=https://npm.taobao.org/mirrors/node-sass/
export THEANO_FLAGS=device=opencl0:2
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
#export PATH="~/.pyenv/bin:$PATH"
#eval "$(pyenv init -)"
#eval "$(pyenv virtualenv-init -)"
#export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
export PATH="/usr/local/opt/elasticsearch@5.6/bin:$PATH"
export PATH="/usr/local/opt/ruby/bin:$PATH"
export PATH="/usr/local/opt/qt/bin:$PATH"
# go get proxy
export GOPROXY=https://goproxy.io