fix: add command reset-proxy
This commit is contained in:
+3
-2
@@ -49,13 +49,14 @@ if test -f ~/.config/fish/custom.fish
|
|||||||
end
|
end
|
||||||
|
|
||||||
function reset_proxy
|
function reset_proxy
|
||||||
|
set -e http_proxy
|
||||||
set -e https_proxy
|
set -e https_proxy
|
||||||
set -e ftp_proxy
|
set -e ftp_proxy
|
||||||
set -e no_proxy
|
set -e all_proxy
|
||||||
set -e HTTP_PROXY
|
set -e HTTP_PROXY
|
||||||
set -e HTTPS_PROXY
|
set -e HTTPS_PROXY
|
||||||
set -e FTP_PROXY
|
set -e FTP_PROXY
|
||||||
set -e NO_PROXY
|
set -e ALL_PROXY
|
||||||
echo "Proxy environment variables have been reset."
|
echo "Proxy environment variables have been reset."
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user