Skip to content

Instantly share code, notes, and snippets.

@valorad
Created April 12, 2017 10:15
Show Gist options
  • Save valorad/19744083649dbfdc0f09aa86236cb4d6 to your computer and use it in GitHub Desktop.
Save valorad/19744083649dbfdc0f09aa86236cb4d6 to your computer and use it in GitHub Desktop.
linux command line tools use proxy
enable_proxy() {
export http_proxy="127.0.0.1:1080"
export https_proxy="127.0.0.1:1080"
}
disable_proxy() {
unset http_proxy
unset https_proxy
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment