summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--zsh/.config/zsh/.zshrc21
1 files changed, 9 insertions, 12 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index 22af3c8..0816bba 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -125,12 +125,13 @@ fi
 # Plugins
 
 zplugin ice blockf
-zplugin load "zsh-users/zsh-completions"
-zplugin load "hlissner/zsh-autopair"
-zplugin load "zdharma/fast-syntax-highlighting"
+zplugin light "zsh-users/zsh-completions"
+zplugin light "hlissner/zsh-autopair"
+zplugin ice wait'1' lucid
+zplugin light "zdharma/fast-syntax-highlighting"
 zplugin load "caarlos0/zsh-open-pr"
 zplugin ice blockf
-zplugin load "mollifier/anyframe"
+zplugin light "mollifier/anyframe"
 
 zplugin snippet "https://github.com/robbyrussell/oh-my-zsh/blob/master/lib/functions.zsh"
 zplugin snippet "https://github.com/robbyrussell/oh-my-zsh/blob/master/lib/termsupport.zsh"
@@ -142,7 +143,7 @@ fi
 
 if [[ -n $commands[npm] ]]
 then
-  zplugin load "lukechilds/zsh-better-npm-completion"
+  zplugin light "lukechilds/zsh-better-npm-completion"
 fi
 
 if [[ -n $commands[yarn] ]]
@@ -152,19 +153,15 @@ fi
 
 if [[ -n $commands[nix-env] ]]
 then
-  zplugin load "spwhitt/nix-zsh-completions"
+  zplugin light "spwhitt/nix-zsh-completions"
 fi
 
 if [[ -n $commands[ghq] ]]
 then
-  zplugin load "${GOPATH:=$HOME/go}/src/github.com/motemen/ghq/zsh/"
+  zplugin light "${GOPATH:=$HOME/go}/src/github.com/motemen/ghq/zsh"
 fi
 
-autoload -Uz compinit
-compinit
-
-zplugin cdreplay -q
-
+zplugin ice atinit 'zpcompinit; zpcdreplay -q'
 
 # General configuration