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 | 01e4d2464bf1083361d9d7b6e7018cd7a52ea2df (patch) | |
tree | 02eb96f0fb9f29846c2624c49b33c5e026006c9f | |
parent | 56d62983a72c30952943a580f656ab86029b31eb (diff) | |
download | crupest-01e4d2464bf1083361d9d7b6e7018cd7a52ea2df.tar.gz crupest-01e4d2464bf1083361d9d7b6e7018cd7a52ea2df.tar.bz2 crupest-01e4d2464bf1083361d9d7b6e7018cd7a52ea2df.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 } |