Skip to content

Instantly share code, notes, and snippets.

@leopku
Created December 23, 2016 13:45
Show Gist options
  • Save leopku/ce75f769919c029f8c8953daa1b61712 to your computer and use it in GitHub Desktop.
Save leopku/ce75f769919c029f8c8953daa1b61712 to your computer and use it in GitHub Desktop.
export PATH="$HOME/.rbenv/bin:$HOME/.ndenv/bin:$HOME/.jenv/bin:$HOME/.pyenv/bin:$PATH"
export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles
export SASS_BINARY_SITE=https://npm.taobao.org/mirrors/node-sass/
export PHANTOMJS_CDNURL=https://npm.taobao.org/dist/phantomjs
export ANDROID_HOME=/usr/local/Cellar/android-sdk
eval "$(rbenv init -)"
eval "$(ndenv init -)"
eval "$(jenv init -)"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
alias cnpm="npm --registry=https://registry.npm.taobao.org \
--cache=$HOME/.npm/.cache/cnpm \
--disturl=https://npm.taobao.org/dist \
--userconfig=$HOME/.cnpmrc"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment