dotfiles/zsh/zplug

30 lines
1.0 KiB
Plaintext
Raw Normal View History

#!/usr/bin/env zsh
# vim: syn=zsh
source ${ZPLUG_HOME}/init.zsh
zplug "${ZDIR}/modules/bin/", from:local, as:command, use:"*"
zplug "${ZDIR}/modules/alias/", from:local, as:plugin
zplug "${ZDIR}/modules/complete/", from:local, as:plugin, defer:2
zplug "${ZDIR}/modules/directory/", from:local, as:plugin
zplug "${ZDIR}/modules/history/", from:local, as:plugin
zplug "${ZDIR}/modules/keybinds/", from:local, as:plugin
zplug "hlissner/zsh-autopair", as:plugin, defer:2
zplug "junegunn/fzf", use:"shell/*.zsh", defer:2
zplug "mafredri/zsh-async", as:plugin, defer:2
zplug "zdharma-continuum/fast-syntax-highlighting", as:plugin, defer:2
zplug "zsh-users/zsh-autosuggestions", as:plugin, defer:2
zplug "zsh-users/zsh-completions", as:plugin
zplug "zsh-users/zsh-history-substring-search", as:plugin, defer:2
2019-05-04 05:46:59 +00:00
if [ -n "$SSH_CONNECTION" ] ; then
2020-03-13 19:02:07 +00:00
zplug "${ZDIR}/modules/prompt/", from:local, use:uncommon.zsh, as:theme
else
zplug "spaceship-prompt/spaceship-prompt", use:spaceship.zsh, from:github, as:theme
fi
env_loader zplug
zplug load