Last active
July 25, 2023 10:04
-
-
Save sky0014/9abaec828810cb97e5c286aa6bdb07af to your computer and use it in GitHub Desktop.
proxy for shell (Add to ~/.bashrc)
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
# useage: proxy curl www.google.com | |
proxy() { | |
http_proxy=127.0.0.1:1080 https_proxy=127.0.0.1:1080 $* | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment