让命令行使用系统代理
让zsh代替原来的shell
- .bash_profile对于原来的shell
- .zshrc对应zsh的shell
我们虽然使用zsh,但是仍然配置bash_profile,然后在zshrc中使用命令
source ~/.bash_profile
在bash_profile中添加
export http_proxy="http://127.0.0.1:xx" export https_proxy="http://127.0.0.1:xx"
里面的xx是你的代理使用的端口号,安自己情况来定

浙公网安备 33010602011771号