Files
dotfiles/zsh/plugin.zsh

30 lines
680 B
Bash
Raw Normal View History

2026-01-17 17:44:41 +00:00
# Prepare for plugin init
source $zsh_dir/zplug/init.zsh
### BEGIN PLUGIN LIST ##########################################################
# Syntax highlighting
zplug "zsh-users/zsh-syntax-highlighting", defer:2
# Command suggestions
zplug "zsh-users/zsh-autosuggestions"
# History search
zplug "zsh-users/zsh-history-substring-search"
# Jump to recent directories
zplug "agkozak/zsh-z"
### END PLUGIN LIST ############################################################
# Finalise plugin init
if ! zplug check --verbose; then
printf "Install? [y/N]: "
if read -q; then
echo; zplug install
fi
fi
# Then, source plugins and add commands to $PATH
zplug load