Tags

vim ~/.zshrc

# ~/.zshrc

# Env setup
export ZSH="$HOME/.oh-my-zsh"

# SSH agent setup (before plugin load)
zstyle :omz:plugins:ssh-agent identities ~/.ssh/id_ed25519
zstyle :omz:plugins:ssh-agent lazy yes
zstyle :omz:plugins:ssh-agent lifetime 4h

# Oh My Zsh config
ZSH_THEME="robbyrussell"
plugins=(debian common-aliases colored-man-pages git fzf grc zoxide ssh-agent)

# Load Oh My Zsh and extra plugins
source $ZSH/oh-my-zsh.sh
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

# Shell experience
COMPLETION_WAITING_DOTS="true"
setopt HIST_IGNORE_DUPS HIST_IGNORE_ALL_DUPS share_history

# Keybindings
bindkey '^[[3;5~' kill-word  # Ctrl+Delete = delete word after cursor

# Aliases
alias zshconfig="$EDITOR ~/.zshrc"