From 3593897c8d671ddf1267ca2dcb545ac1647507f3 Mon Sep 17 00:00:00 2001 From: Konano Date: Tue, 8 Sep 2026 11:58:53 +0800 Subject: [PATCH] add clash proxy environment unset function --- files/zsh/20-function.zsh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/files/zsh/20-function.zsh b/files/zsh/20-function.zsh index bed275d..a3e1612 100644 --- a/files/zsh/20-function.zsh +++ b/files/zsh/20-function.zsh @@ -51,6 +51,15 @@ __zsh_get_ip() { __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() { if [ -z "$1" ]; then echo "Please specify a keyword to remove"