add clash proxy environment unset function

This commit is contained in:
Konano 2026-09-08 11:58:53 +08:00
parent af8f8fc238
commit 3593897c8d
Signed by: Nano
GPG Key ID: 93686B78EE43A65A

View File

@ -51,6 +51,15 @@ __zsh_get_ip() {
__zsh_get_ipv6 __zsh_get_ipv6
} }
__zsh_clash_env_unset() {
unset HTTP_PROXY
unset HTTPS_PROXY
unset ALL_PROXY
unset http_proxy
unset https_proxy
unset all_proxy
}
__zsh_history_remove() { __zsh_history_remove() {
if [ -z "$1" ]; then if [ -z "$1" ]; then
echo "Please specify a keyword to remove" echo "Please specify a keyword to remove"