Skip to content

Instantly share code, notes, and snippets.

@zfz
Last active January 3, 2017 03:48
Show Gist options
  • Save zfz/2ef72a90053686842003b60d6c9a8a05 to your computer and use it in GitHub Desktop.
Save zfz/2ef72a90053686842003b60d6c9a8a05 to your computer and use it in GitHub Desktop.
# Proxy switch to ShadowSocksX-NG
function set_proxy() {
export {http,https,ftp}_proxy='127.0.0.1:1087'
}
function unset_proxy() {
unset {http,https,ftp}_proxy
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment