dotar/zsh/local.zsh

42 lines
1.2 KiB
Bash
Raw Normal View History

2017-07-28 19:19:01 +08:00
# Vim
export EDITOR=vim
#### Android
export ANDROID_HOME=$HOME/Library/Android/sdk
export ANDROID_SDK_ROOT=$HOME/Library/Android/sdk
export ANDROID_SDK_HOME=$HOME/Library/Android/sdk
export ANDROID_NDK_HOME=$HOME/Library/Android/sdk/ndk-bundle
export NDK_PROJECT_PATH=src/main
export PATH=$PATH:$HOME/Android/sdk/platform-tools:$HOME/Android/sdk/tools/
2017-07-28 19:19:01 +08:00
#### Qiniu
QINIU_ACCESS_KEY=l6Rf0LgQDgpSwjdXr_MgsCynhsofRM7W2dwvIOXO
#### Java
export JAVA_HOME=/usr/lib/jvm/java-7-oracle
if [ "$(uname)" = "Darwin" ]; then
2022-08-22 09:49:52 +08:00
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
2017-07-28 19:19:01 +08:00
elif [ "$(expr substr $(uname -s) 1 5)" = "Linux" ]; then
fi
#### Proxy Settings
unset all_proxy ALL_PROXY
#### Character Set
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
if [[ "$(uname)" == "Darwin" ]]; then
elif [[ "$(expr substr $(uname -s) 1 5)" == "Linux" ]]; then
# Do something under GNU/Linux platform
elif [[ "$(expr substr $(uname -s) 1 10)" == "MINGW32_NT" ]]; then
# Do something under Windows NT platform
fi
2019-07-19 14:00:57 +08:00
if [ -e ~/Projects/paiyou-hub/bin/rancher_setup.sh ]; then
source ~/Projects/paiyou-hub/bin/rancher_setup.sh
2017-07-28 19:19:01 +08:00
fi
2020-04-07 11:33:55 +08:00
[ -e ~/Projects/quanzhan/.myzshrc ] && source ~/Projects/quanzhan/.myzshrc