Created
March 10, 2015 02:30
-
-
Save jsfaint/58be6044f66a387c4d09 to your computer and use it in GitHub Desktop.
set proxy for command, e.g.: ./proxy vim
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
#!/bin/bash | |
proxy=127.0.0.1:7777 | |
http_proxy=$proxy https_proxy=$proxy $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment