From 8967a18fde1df7c42a8bb2cf9719c54f5971dad6 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Fri, 20 Dec 2019 13:32:03 -0500 Subject: [PATCH] Formatting> Substance of the file hasn't changed. Collapsed the zplug commands to a single line, and sorted. --- zsh/zplug | 82 +++++++++++-------------------------------------------- 1 file changed, 16 insertions(+), 66 deletions(-) diff --git a/zsh/zplug b/zsh/zplug index 20f6101..60b867b 100755 --- a/zsh/zplug +++ b/zsh/zplug @@ -2,77 +2,27 @@ source ${ZPLUG_HOME}/init.zsh -zplug "junegunn/fzf-bin", \ - from:gh-r, \ - as:command, \ - rename-to:fzf +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 "zdharma/zsh-diff-so-fancy", \ - as:command, \ - use:"bin/{git-dsf,diff-so-fancy}" - -zplug "${ZDIR}/modules/bin/", \ - from:local, \ - as:command, \ - use:"*" - -zplug "zdharma/fast-syntax-highlighting", \ - as:plugin, \ - defer:2 - -zplug "hlissner/zsh-autopair", \ - as:plugin, \ - defer:2 - -zplug "zsh-users/zsh-history-substring-search", \ - as:plugin, \ - defer:2 - -zplug "zpm-zsh/autoenv", \ - as:plugin, \ - defer:2 - -zplug "zsh-users/zsh-autosuggestions", \ - as:plugin, \ - defer:2 - -zplug "junegunn/fzf", \ - use:"shell/*.zsh", \ - defer:2 - -zplug "${ZDIR}/modules/history/", \ - from:local, \ - as:plugin - -zplug "${ZDIR}/modules/directory/", \ - from:local, \ - as:plugin - -zplug "${ZDIR}/modules/complete/", \ - from:local, \ - as:plugin - -zplug "${ZDIR}/modules/keybinds/", \ - from:local, \ - as:plugin - -zplug "${ZDIR}/modules/alias/", \ - from:local, \ - as:plugin +zplug "${ZDIR}/modules/alias/", from:local, as:plugin +zplug "${ZDIR}/modules/complete/", from:local, as:plugin +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 "zdharma/fast-syntax-highlighting", as:plugin, defer:2 +zplug "zpm-zsh/autoenv", as:plugin, defer:2 +zplug "zsh-users/zsh-autosuggestions", as:plugin, defer:2 +zplug "zsh-users/zsh-history-substring-search", as:plugin, defer:2 if [ -n "$SSH_CONNECTION" ] ; then - zplug "${ZDIR}/modules/prompt/",\ - from:local,\ - use:uncommon.zsh, \ - as:theme + zplug "${ZDIR}/modules/prompt/",\ from:local,\ use:uncommon.zsh, as:theme else - zplug "denysdovhan/spaceship-prompt", \ - use:spaceship.zsh, \ - from:github, \ - as:theme + zplug "denysdovhan/spaceship-prompt", use:spaceship.zsh, from:github, as:theme fi env_loader zplug - zplug load -