Skip to content

Instantly share code, notes, and snippets.

@Markbnj
Created August 11, 2015 20:26
Show Gist options
  • Save Markbnj/89e17d65596c338464cb to your computer and use it in GitHub Desktop.
Save Markbnj/89e17d65596c338464cb to your computer and use it in GitHub Desktop.
Set http/https proxy address on a console session
# 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