From 670ce487bfe9407bd67a994713346e9a61df1c10 Mon Sep 17 00:00:00 2001 From: "@andatoshiki" Date: Tue, 12 Mar 2024 11:11:37 -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 0e8fced1..81947e11 100644 --- a/docs/development/proxy4shell-terminal.md +++ b/docs/development/proxy4shell-terminal.md @@ -123,7 +123,7 @@ cat >> ~/.zshrc << EOF # 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" } @@ -233,4 +233,4 @@ ssh -o ProxyCommand='socat - "PROXY:%h:%p|tcp:myproxy:80"' user@host - https://askubuntu.com/questions/583797/how-to-set-a-proxy-for-terminal - https://zhuanlan.zhihu.com/p/357875811 - https://askubuntu.com/questions/158557/setting-proxy-for-apt-from-terminal - ::: \ No newline at end of file + :::