fix: add command reset-proxy

This commit is contained in:
2024-11-06 23:01:01 +08:00
parent aec3961983
commit 041f993017
+3 -2
View File
@@ -49,13 +49,14 @@ if test -f ~/.config/fish/custom.fish
end
function reset_proxy
set -e http_proxy
set -e https_proxy
set -e ftp_proxy
set -e no_proxy
set -e all_proxy
set -e HTTP_PROXY
set -e HTTPS_PROXY
set -e FTP_PROXY
set -e NO_PROXY
set -e ALL_PROXY
echo "Proxy environment variables have been reset."
end