Add brew alias to use all_proxy for Homebrew commands
This commit is contained in:
1 parent
9c003e48f8
commit
b314fcacca
1 file changed
+1
@@ -1,5 +1,6 @@
|
|||||||
alias claude='env -u TERM_PROGRAM https_proxy=http://localhost:3128 claude'
|
alias claude='env -u TERM_PROGRAM https_proxy=http://localhost:3128 claude'
|
||||||
alias codex="all_proxy=http://localhost:3128 codex --dangerously-bypass-approvals-and-sandbox"
|
alias codex="all_proxy=http://localhost:3128 codex --dangerously-bypass-approvals-and-sandbox"
|
||||||
|
alias brew="all_proxy=http://localhost:3128 brew"
|
||||||
alias hf="env -u HF_HUB_OFFLINE all_proxy=http://localhost:3128 hf"
|
alias hf="env -u HF_HUB_OFFLINE all_proxy=http://localhost:3128 hf"
|
||||||
if [ -d /data/guofang ]; then
|
if [ -d /data/guofang ]; then
|
||||||
export HF_HOME=/data/guofang/.cache/huggingface
|
export HF_HOME=/data/guofang/.cache/huggingface
|
||||||
|
|||||||
Reference in new issue
Block a user