对mac的terminal设置代理的方法:

2024年2月17日21:05:55 发表评论 122 views

alias proxy='export http_proxy=127.0.0.1:1087;export https_proxy=$http_proxy'

alias proxyOff='unset http_proxy;unset https_proxy'

 

参考的是这篇:https://www.hangge.com/blog/cache/detail_3138.html

其他的暂时可以不用设置,速度直接起飞

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: