From ecec411fed3eec5e314d8cd73ca6044d8ff6ffb1 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 22 Sep 2019 14:09:38 +0200 Subject: zsh: Tweak plugin loading --- zsh/.config/zsh/.zshrc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'zsh/.config') 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" -- cgit 1.4.1