每次打开终端用 brew 的时候,必须是 clash 在全局模式下 才可以,有没有办法在规则模式下使用?
|
wakzzOct 9, 2020
1
用[proxychains-ng]( https://github.com/rofl0r/proxychains-ng),可以指定代理当前命令还是当前 bash 窗口
|
|
newbieRenewOct 9, 2020 via iPhone
2
大多数代理都提供了 Shell export command,复制,终端里粘贴一下就行了
|
|
maskerOct 9, 2020 via Android
3
.bashrc or .zshrc
export 一下就好了 |
|
HarryQuOct 9, 2020
4
vim ~/.bash_profile,add:
export http_proxy="http://127.0.0.1:7890" export https_proxy="http://127.0.0.1:7890" source ~/.bash_profile 话说你 brew 为什么不用镜像呢? https://mirrors.tuna.tsinghua.edu.cn/help/homebrew/ |