From f4c8bf2011c70f8f05261a9022062e130b5fca71 Mon Sep 17 00:00:00 2001 From: "@andatoshiki" Date: Tue, 19 Mar 2024 11:11:45 -0700 Subject: [PATCH] fix(typo): update typo with code in script for initiating proxy configuration for terminal or shell --- docs/development/proxy4shell-terminal.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" }