-
-
Save enginespot/e1b2ccc6e5476c685ea75d47e0d81f53 to your computer and use it in GitHub Desktop.
linux command line tools use proxy
This file contains 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
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