From 554eaf4bd74f09398851ba69e840a1d4c6f371c0 Mon Sep 17 00:00:00 2001 From: hc Date: Mon, 23 Mar 2026 20:27:16 +0800 Subject: trim zshrc to color and ssh agent only --- mac/zshrc | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/mac/zshrc b/mac/zshrc index 7a304b9..05aa0e5 100644 --- a/mac/zshrc +++ b/mac/zshrc @@ -1,30 +1,6 @@ -eval "$(/opt/homebrew/bin/brew shellenv)" -export PATH="/opt/homebrew/opt/openssh/bin:$PATH" -export PATH="/opt/homebrew/Cellar/netcat/0.7.1/bin:$PATH" -export PATH="/opt/homebrew/opt/curl/bin:$PATH" export CLICOLOR=1 export LSCOLORS=GxFxCxDxBxegedabagaced PROMPT="[%F{green}%n%f@%m %F{135}%1~%f]$ " -. "$HOME/.cargo/env" -export PATH="/opt/homebrew/opt/llvm/bin:$PATH" - -### MANAGED BY RANCHER DESKTOP START (DO NOT EDIT) -export PATH="/Users/haochengxie/.rd/bin:$PATH" -### MANAGED BY RANCHER DESKTOP END (DO NOT EDIT) - -export NVM_DIR="$HOME/.nvm" -[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm -[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion - -alias claude="/Users/haochengxie/.claude/local/claude" -export PATH="/opt/homebrew/opt/openjdk@21/bin:$PATH" - -# Added by LM Studio CLI (lms) -export PATH="$PATH:/Users/haochengxie/.lmstudio/bin" -# End of LM Studio CLI section - -export OLLAMA_MODELS="/Volumes/whitefast8t/ollama_models" -alias tailscale="/Applications/Tailscale.app/Contents/MacOS/Tailscale" # SSH agent - reuse existing or start new if [ -z "$SSH_AUTH_SOCK" ] || ! ssh-add -l &>/dev/null; then -- cgit