mirror of
https://github.com/andatoshiki/toshiki-notebook.git
synced 2026-06-05 22:46:32 +00:00
fix(typo): update typo with code in script for initiating proxy configuration for terminal or shell
This commit is contained in:
parent
895531b473
commit
670ce487bf
@ -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
|
||||
:::
|
||||
:::
|
||||
|
||||
Loading…
Reference in New Issue
Block a user