Created
February 21, 2020 16:27
-
-
Save jebai0521/fd3e0704b214280f5763d01815896cda to your computer and use it in GitHub Desktop.
.zshrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for Proxy | |
export ALL_PROXY=socks5://127.0.0.1:10000 | |
#export ALL_PROXY=http://127.0.0.1:9999 | |
#export http_proxy=http://127.0.0.1:9999 | |
#export https_proxy=https://127.0.0.1:50085 | |
export npm_config_proxy=http://127.0.0.1:9999 | |
export npm_config_https_proxy=http://127.0.0.1:9999 | |
# For .nvm | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
# For Android | |
export ANDROID_HOME=$HOME/Library/Android/sdk | |
export PATH=$PATH:$ANDROID_HOME/emulator | |
export PATH=$PATH:$ANDROID_HOME/tools | |
export PATH=$PATH:$ANDROID_HOME/tools/bin | |
export PATH=$PATH:$ANDROID_HOME/platform-tools | |
# For Custom Tool | |
export PATH=$PATH:$HOME/tools/bin | |
# For Alias | |
alias ..='cd ..' | |
alias ...='cd ../..' | |
alias adbv='adb-reverse-all' | |
alias adbr='adb reverse tcp:8081 tcp:8081' | |
alias cali='ssh [email protected]' | |
alias cd..='cd ..' | |
alias cd...='cd ../..' | |
alias cten='ssh [email protected]' | |
alias dir='ls' | |
alias ll='ls -alt' | |
alias rnrlsa='react-native run-android --variant=release' | |
alias rnruni='react-native run-ios' | |
alias rnruna='react-native run-android' | |
alias adbk82='adb shell input keyevent 82' | |
alias gitpush='git add -A ; git commit -m "update"; git push -u origin master' | |
#export PS1="[%T] %m> " | |
# For Python | |
export PATH=$PATH:/Users/mingchen/Library/Python/2.7/bin:/Users/mingchen/Library/Python/3.7/bin | |
# For Shopify | |
[ -f "/Users/mingchen/.shopify-app-cli/shopify.sh" ] && source "/Users/mingchen/.shopify-app-cli/shopify.sh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment