Last active
September 7, 2016 13:55
-
-
Save marcransome/c891aebacb336862cca3d5ecfda3faca to your computer and use it in GitHub Desktop.
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
function proxy { | |
for env_var in http_proxy HTTP_PROXY https_proxy HTTPS_PROXY; do | |
export $env_var='' | |
done | |
export no_proxy="localhost,127.0.0.1" | |
} | |
proxy | |
function noproxy { | |
for env_var in http_proxy HTTP_PROXY https_proxy HTTPS_PROXY; do | |
unset $env_var | |
done | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment