summary refs log tree commit diff stats
path: root/zsh
diff options
context:
space:
mode:
authorAlan Pearce2017-04-28 09:29:24 +0200
committerAlan Pearce2017-04-28 09:29:24 +0200
commit0979ef5aa493053686876261bf9e3b01b055af6a (patch)
tree38795f145ed4faad8a21d8b7d4457f753eea1f11 /zsh
parent9cd649a0d92b7ba595d22089b16a9b7715f7c80f (diff)
downloaddotfiles-0979ef5aa493053686876261bf9e3b01b055af6a.tar.lz
dotfiles-0979ef5aa493053686876261bf9e3b01b055af6a.tar.zst
dotfiles-0979ef5aa493053686876261bf9e3b01b055af6a.zip
zsh: Fix plugin load order
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.config/zsh/.zshrc12
1 files changed, 6 insertions, 6 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index 6b62934..52907de 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -3,10 +3,10 @@ source $ZPLUG_HOME/init.zsh
 
 zplug "zsh-users/zsh-completions", depth:1, defer:0
 zplug "junegunn/fzf-bin", from:gh-r, as:command, rename-to:fzf
-zplug "junegunn/fzf", as:plugin, use:"shell/*.zsh", defer:2
+zplug "junegunn/fzf", as:plugin, use:"shell/*.zsh"
 zplug "junegunn/fzf", as:command, use:"bin/*"
 zplug "caarlos0/zsh-open-pr", as:plugin
-zplug "zdharma/fast-syntax-highlighting", as:plugin
+zplug "zdharma/fast-syntax-highlighting", as:plugin, defer:2
 zplug "unixorn/tumult.plugin.zsh", as:plugin, if:"[[ $os -eq darwin ]]"
 if [[ -n $commands[nix-env] ]]
 then
@@ -14,10 +14,10 @@ then
   fpath=($fpath $ZPLUG_REPOS/spwhitt/nix-zsh-completions)
 fi
 
-zplug "plugins/yarn", from:oh-my-zsh, defer:2, if:"[[ -n $commands[yarn] ]]", defer:2
-zplug "lukechilds/zsh-better-npm-completion", if:"[[ -n $commands[npm] ]]", defer:2
-zplug "hlissner/zsh-autopair", defer:2
-zplug "${GOPATH:=$HOME/go}/src/github.com/motemen/ghq/zsh/", from:local, if:"[[ -n $commands[ghq] ]]", defer:2
+zplug "plugins/yarn", from:oh-my-zsh, if:"[[ -n $commands[yarn] ]]"
+zplug "lukechilds/zsh-better-npm-completion", if:"[[ -n $commands[npm] ]]"
+zplug "hlissner/zsh-autopair"
+zplug "${GOPATH:=$HOME/go}/src/github.com/motemen/ghq/zsh/", from:local, if:"[[ -n $commands[ghq] ]]"
 
 HISTSIZE=3000
 SAVEHIST=10000