diff --git a/docs/development/proxy4shell-terminal.md b/docs/development/proxy4shell-terminal.md index 81947e11..68a682c4 100644 --- a/docs/development/proxy4shell-terminal.md +++ b/docs/development/proxy4shell-terminal.md @@ -68,11 +68,11 @@ $ vim ~/.zshrc # session proxy switch shortcut function proxy_on() { export http_proxy=http://127.0.0.1:7890 - export https_proxy=\$http_proxy + export https_proxy=$http_proxy echo -e "global proxy for the current terminal session has turned on" } -function proxy_off(){ +function proxy_off() { unset http_proxy https_proxy echo -e "global proxy for the current terminal session has turned off" }