zshrc/zsh.d/50_zplug.zsh
2024-03-03 20:25:22 +01:00

27 lines
597 B
Bash

# vim: ft=zsh
export ZPLUG_ROOT=${ZPLUG_ROOT:-/usr/share/zplug}
if [[ ! -f "${ZPLUG_ROOT}/init.zsh" ]]; then
return
fi
source ${ZPLUG_ROOT}/init.zsh
zplug "plugins/git", from:oh-my-zsh
zplug "plugins/sudo", from:oh-my-zsh
zplug "plugins/command-not-found", from:oh-my-zsh
zplug "zsh-users/zsh-syntax-highlighting"
zplug "zsh-users/zsh-autosuggestions"
zplug "zsh-users/zsh-history-substring-search"
zplug "zsh-users/zsh-completions"
zplug "junegunn/fzf", use:"shell/*.zsh"
if ! zplug check --verbose; then
printf "Install? [y/N]: "
if read -q; then
echo
zplug install
fi
fi
zplug load