dotfiles/zsh/zplug
James Patrick 7deffb5cd2 Replacing diff-so-fancy with delta.
They are largely comparable, but I'm interested in the syntax
highlighting that ships with delta, and more regular upkeep and
security checks
2021-04-27 14:39:49 -04:00

35 lines
1.2 KiB
Plaintext
Executable File

# vim: syn=zsh
source ${ZPLUG_HOME}/init.zsh
zplug "${ZDIR}/modules/bin/", from:local, as:command, use:"*"
zplug "junegunn/fzf-bin", from:gh-r, as:command, rename-to:fzf
zplug "dandavison/delta", from:gh-r, as:command, rename-to:delta
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/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
if (($+commands[yarn])) ; then
zplug "g-plane/zsh-yarn-autocompletions", hook-build:"./zplug.zsh", defer:2
fi
if [ -n "$SSH_CONNECTION" ] ; then
zplug "${ZDIR}/modules/prompt/", from:local, use:uncommon.zsh, as:theme
else
zplug "denysdovhan/spaceship-prompt", use:spaceship.zsh, from:github, as:theme
fi
env_loader zplug
zplug load