add clash proxy environment unset function
This commit is contained in:
parent
af8f8fc238
commit
3593897c8d
@ -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"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user