summaryrefslogtreecommitdiff
path: root/mac
diff options
context:
space:
mode:
authorhc <hc@email.ch>2026-03-23 20:27:16 +0800
committerhc <hc@email.ch>2026-03-23 20:27:16 +0800
commit554eaf4bd74f09398851ba69e840a1d4c6f371c0 (patch)
tree0813783396949ec89cd41d034c3a52a5aa7ee959 /mac
parent7733b01cc45768b0a81fb4bd56b69a1c21b29ddc (diff)
trim zshrc to color and ssh agent onlyHEADmain
Diffstat (limited to 'mac')
-rw-r--r--mac/zshrc24
1 files changed, 0 insertions, 24 deletions
diff --git a/mac/zshrc b/mac/zshrc
index 7a304b9..05aa0e5 100644
--- a/mac/zshrc
+++ b/mac/zshrc
@@ -1,30 +1,6 @@
1eval "$(/opt/homebrew/bin/brew shellenv)"
2export PATH="/opt/homebrew/opt/openssh/bin:$PATH"
3export PATH="/opt/homebrew/Cellar/netcat/0.7.1/bin:$PATH"
4export PATH="/opt/homebrew/opt/curl/bin:$PATH"
5export CLICOLOR=1 1export CLICOLOR=1
6export LSCOLORS=GxFxCxDxBxegedabagaced 2export LSCOLORS=GxFxCxDxBxegedabagaced
7PROMPT="[%F{green}%n%f@%m %F{135}%1~%f]$ " 3PROMPT="[%F{green}%n%f@%m %F{135}%1~%f]$ "
8. "$HOME/.cargo/env"
9export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
10
11### MANAGED BY RANCHER DESKTOP START (DO NOT EDIT)
12export PATH="/Users/haochengxie/.rd/bin:$PATH"
13### MANAGED BY RANCHER DESKTOP END (DO NOT EDIT)
14
15export NVM_DIR="$HOME/.nvm"
16[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
17[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
18
19alias claude="/Users/haochengxie/.claude/local/claude"
20export PATH="/opt/homebrew/opt/openjdk@21/bin:$PATH"
21
22# Added by LM Studio CLI (lms)
23export PATH="$PATH:/Users/haochengxie/.lmstudio/bin"
24# End of LM Studio CLI section
25
26export OLLAMA_MODELS="/Volumes/whitefast8t/ollama_models"
27alias tailscale="/Applications/Tailscale.app/Contents/MacOS/Tailscale"
28 4
29# SSH agent - reuse existing or start new 5# SSH agent - reuse existing or start new
30if [ -z "$SSH_AUTH_SOCK" ] || ! ssh-add -l &>/dev/null; then 6if [ -z "$SSH_AUTH_SOCK" ] || ! ssh-add -l &>/dev/null; then