2019-05-01 03:29:37 +00:00
|
|
|
# vim: syn=zsh
|
|
|
|
|
|
|
|
source ${ZPLUG_HOME}/init.zsh
|
|
|
|
|
2019-12-20 18:32:03 +00:00
|
|
|
zplug "${ZDIR}/modules/bin/", from:local, as:command, use:"*"
|
|
|
|
zplug "junegunn/fzf-bin", from:gh-r, as:command, rename-to:fzf
|
|
|
|
zplug "zdharma/zsh-diff-so-fancy", as:command, use:"bin/{git-dsf,diff-so-fancy}"
|
|
|
|
|
|
|
|
zplug "${ZDIR}/modules/alias/", from:local, as:plugin
|
2020-08-21 22:01:04 +00:00
|
|
|
zplug "${ZDIR}/modules/complete/", from:local, as:plugin, defer:2
|
2019-12-20 18:32:03 +00:00
|
|
|
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
|
2020-01-13 19:23:50 +00:00
|
|
|
zplug "mafredri/zsh-async", as:plugin, defer:2
|
2019-12-20 18:32:03 +00:00
|
|
|
zplug "zdharma/fast-syntax-highlighting", as:plugin, defer:2
|
|
|
|
zplug "zsh-users/zsh-autosuggestions", as:plugin, defer:2
|
2020-08-21 22:01:04 +00:00
|
|
|
zplug "zsh-users/zsh-completions", as:plugin
|
2019-12-20 18:32:03 +00:00
|
|
|
zplug "zsh-users/zsh-history-substring-search", as:plugin, defer:2
|
2019-05-04 05:46:59 +00:00
|
|
|
|
2020-03-19 19:56:14 +00:00
|
|
|
if (($+commands[yarn])) ; then
|
|
|
|
zplug "g-plane/zsh-yarn-autocompletions", hook-build:"./zplug.zsh", defer:2
|
|
|
|
fi
|
|
|
|
|
2019-12-20 15:21:50 +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 "denysdovhan/spaceship-prompt", use:spaceship.zsh, from:github, as:theme
|
2019-12-20 15:09:45 +00:00
|
|
|
fi
|
2019-05-01 03:29:37 +00:00
|
|
|
|
|
|
|
env_loader zplug
|
2020-03-09 17:30:45 +00:00
|
|
|
|
2019-05-01 03:29:37 +00:00
|
|
|
zplug load
|