Created
August 13, 2018 02:35
-
-
Save Akagi201/d94e3ea51e4be4450e939ec0c35a185a to your computer and use it in GitHub Desktop.
[proxy]
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(){ | |
#export ALL_PROXY=socks5://127.0.0.1:1086; | |
export http_proxy=http://127.0.0.1:1087; | |
export https_proxy=http://127.0.0.1:1087; | |
echo -e "芝麻开门了" | |
} | |
function unproxy(){ | |
#unset ALL_PROXY | |
unset http_proxy | |
unset https_proxy | |
echo -e "芝麻发霉了" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment