Skip to content

Instantly share code, notes, and snippets.

@sky0014
Last active July 25, 2023 10:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sky0014/9abaec828810cb97e5c286aa6bdb07af to your computer and use it in GitHub Desktop.
Save sky0014/9abaec828810cb97e5c286aa6bdb07af to your computer and use it in GitHub Desktop.
proxy for shell (Add to ~/.bashrc)
# useage: proxy curl www.google.com
proxy() {
http_proxy=127.0.0.1:1080 https_proxy=127.0.0.1:1080 $*
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment