summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-09-22 14:09:38 +0200
committerAlan Pearce2019-09-22 14:09:38 +0200
commitecec411fed3eec5e314d8cd73ca6044d8ff6ffb1 (patch)
tree7959fd5b5290f2aff7c690af25ebf3c6a3776983
parent17b0737897f259d84a0e1f9aaa165c027e190215 (diff)
downloaddotfiles-ecec411fed3eec5e314d8cd73ca6044d8ff6ffb1.tar.lz
dotfiles-ecec411fed3eec5e314d8cd73ca6044d8ff6ffb1.tar.zst
dotfiles-ecec411fed3eec5e314d8cd73ca6044d8ff6ffb1.zip
zsh: Tweak plugin loading
-rw-r--r--zsh/.config/zsh/.zshrc8
1 files changed, 5 insertions, 3 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index b577b1b..593f2f9 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -143,7 +143,7 @@ zstyle ':completion:*' completer _expand _complete _match
 
 # Plugins
 
-zplugin ice blockf wait'0' lucid
+zplugin ice blockf wait'!' lucid
 zplugin load "zsh-users/zsh-completions"
 zplugin ice wait'[[ -n ${ZLAST_COMMANDS[(r)k*]} || "$PWD" =~ "kubernetes" ]]'
 zplugin load alanpearce/kubectl-aliases
@@ -167,7 +167,7 @@ zplugin snippet "OMZ::lib/termsupport.zsh"
 zplugin ice id-as'docker-compose-completion' wait'[[ -n ${ZLAST_COMMANDS[(r)d*]} ]]' lucid
 zplugin snippet "https://github.com/docker/compose/raw/1.24.1/contrib/completion/zsh/_docker-compose"
 
-zplugin ice if'[[ $os -eq darwin ]]' wait'1' lucid
+zplugin ice if'[[ $os -eq darwin ]]' wait'5' lucid
 zplugin load "unixorn/tumult.plugin.zsh"
 
 zplugin ice wait'[[ -n ${ZLAST_COMMANDS[(r)npm*]} ]]' lucid
@@ -179,6 +179,7 @@ zplugin load "chisui/zsh-nix-shell"
 zplugin ice if'[[ -n $commands[ghq] ]]'
 zplugin load "${GOPATH:=$HOME/go}/src/github.com/motemen/ghq/zsh"
 
+zplugin ice wait'!2' lucid
 zplugin load "MichaelAquilina/zsh-you-should-use"
 
 if [[ -n $commands[gcloud] ]]
@@ -254,6 +255,7 @@ else
 fi
 zplugin load agkozak/agkozak-zsh-prompt
 
+zplugin ice wait'!' lucid
 zplugin light "mollifier/anyframe"
 if [[ -n $commands[fzf] ]]
 then
@@ -276,6 +278,6 @@ fi
 
 unsetopt flow_control       # Let me use ^S and ^Q
 
-zplugin ice wait'1' if'[[ -z $SSH_CLIENT ]]' lucid atinit'zpcompinit; zpcdreplay -q'
+zplugin ice wait'!' if'[[ -z $SSH_CLIENT ]]' lucid atinit'zpcompinit; zpcdreplay -q' lucid
 zplugin load "zdharma/fast-syntax-highlighting"