-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_zshrc.tmpl
More file actions
38 lines (28 loc) · 1.82 KB
/
Copy pathdot_zshrc.tmpl
File metadata and controls
38 lines (28 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
zstyle ':omz:update' mode auto
HISTSIZE=50000
SAVEHIST=50000
setopt SHARE_HISTORY
plugins=(git)
source $ZSH/oh-my-zsh.sh
export EDITOR="code --wait"
export CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATE=1
# ── Aliases ───────────────────────────────────────────────────────────────────
alias ll='ls -lahG'
alias reload='exec zsh'
# ── rbenv ─────────────────────────────────────────────────────────────────────
eval "$(rbenv init -)"
# ── Bitwarden SSH Agent ───────────────────────────────────────────────────────
export SSH_AUTH_SOCK="{{ .chezmoi.homeDir }}/.bitwarden-ssh-agent.sock"
# ── pnpm ─────────────────────────────────────────────────────────────────────
export PNPM_HOME="{{ .chezmoi.homeDir }}/Library/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# ── Shell enhancements (installed via Homebrew) ───────────────────────────────
[[ -f /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh ]] && \
source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh
[[ -f /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]] && \
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh