Add alias for hf and set HF_HUB_CACHE environment variable

This commit is contained in:
Guofang committed 2026-11-09 00:05:20 +08:00
1 parent 1750b6d0d3
commit 9a6feb1e5a
1 file changed
+2
+2
View File
@@ -1,2 +1,4 @@
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 hf="all_proxy=http://localhost:3128 hf"
export HF_HUB_CACHE=/data/guofang/.cache/huggingface/hub