Created
August 11, 2015 20:26
-
-
Save Markbnj/89e17d65596c338464cb to your computer and use it in GitHub Desktop.
Set http/https proxy address on a console session
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
# sets the http/s proxy for the current shell to | |
# the passed argument, which should be in the form | |
# http://xxx.xxx.xxx.xxx:xxxx | |
export http_proxy=$1 | |
export https_proxy=$http_proxy | |
export no_proxy="localhost,127.0.0.1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment