27 lines
615 B
Bash
27 lines
615 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
|
|
|