Created
April 25, 2020 07:28
-
-
Save ericstone57/d1fbf3767998c542e63d932018a8c76c to your computer and use it in GitHub Desktop.
http_proxy_setting.sh
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
# where proxy | |
proxy () { | |
export http_proxy="http://127.0.0.1:8087" | |
export https_proxy="http://127.0.0.1:8087" | |
echo "HTTP Proxy on" | |
} | |
# where noproxy | |
noproxy () { | |
unset http_proxy | |
unset https_proxy | |
echo "HTTP Proxy off" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment