# plugins.zsh — oh-my-zsh bootstrap + plugin selection.
# Guarded so it won't re-run if the user's ~/.zshrc already loaded oh-my-zsh.
[ -n "${ZSH_VERSION:-}" ] || return 0
export ZSH="${ZSH:-$HOME/.oh-my-zsh}"
export ZSH_CUSTOM="${ZSH_CUSTOM:-$ZSH/custom}"
if [[ -d $ZSH && ! -n ${PE__OMZ_LOADED:-} ]] && ! typeset -f omz >/dev/null 2>&1; then
zstyle ':omz:update' mode disabled # we manage updates via git/installer
ZSH_THEME="" # custom prompt lives in prompt.zsh
# Custom plugins (installed by install.sh into $ZSH_CUSTOM/plugins):
# zsh-autosuggestions, zsh-syntax-highlighting, zsh-you-should-use, fzf-tab
plugins=(
git
sudo # press ESC-ESC to prepend sudo
fzf
fzf-tab # fzf-powered tab completion
zsh-autosuggestions
zsh-you-should-use # nudges you toward your aliases
colored-man-pages
command-not-found
docker
)
source "$ZSH/oh-my-zsh.sh"
export PE__OMZ_LOADED=1
fi
# Autosuggestion color = Rose Pine "muted".
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#6e6a86"
ZSH_AUTOSUGGEST_STRATEGY=(history completion)