25 lines
551 B
Bash
25 lines
551 B
Bash
# vim: ft=zsh
|
|
|
|
if [[ ! -f '/usr/share/zplug/init.zsh' ]]; then
|
|
return
|
|
fi
|
|
|
|
source /usr/share/zplug/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"
|
|
|
|
if ! zplug check --verbose; then
|
|
printf "Install? [y/N]: "
|
|
if read -q; then
|
|
echo; zplug install
|
|
fi
|
|
fi
|
|
zplug load
|
|
|