diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-06-13 01:23:42 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-06-13 01:23:42 +0800 |
commit | 226a8b060d4da35771fe455554b212d38efb20fd (patch) | |
tree | 4b3756abbfe5809ee7f47c204c6ab59d810f3c52 | |
parent | f2ad7ba037732b5c9772a965fa7c344f5bcba6ce (diff) | |
download | crupest-226a8b060d4da35771fe455554b212d38efb20fd.tar.gz crupest-226a8b060d4da35771fe455554b212d38efb20fd.tar.bz2 crupest-226a8b060d4da35771fe455554b212d38efb20fd.zip |
config(bash): proxy set both lower and upper case.
-rw-r--r-- | store/config/home/bashrc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/store/config/home/bashrc b/store/config/home/bashrc index 1ab3b08..e59b2a4 100644 --- a/store/config/home/bashrc +++ b/store/config/home/bashrc @@ -1,8 +1,13 @@ set-proxy() { + export http_proxy="http://127.0.0.1:7897" + export https_proxy="http://127.0.0.1:7897" export HTTP_PROXY="http://127.0.0.1:7897" export HTTPS_PROXY="http://127.0.0.1:7897" } unset-proxy() { - unset HTTP_PROXY HTTPS_PROXY + unset http_proxy + unset https_proxy + unset HTTP_PROXY + unset HTTPS_PROXY } |