summary refs log tree commit diff stats
path: root/zsh
diff options
context:
space:
mode:
authorAlan Pearce2018-12-19 12:13:04 +0100
committerAlan Pearce2018-12-19 12:13:04 +0100
commit5553e7a66042f30fcef94b0eb61ff2c783c8acb6 (patch)
treef31a0034c74a0ee0083814299976ff3b5bc19175 /zsh
parentd4a8801b9b6b1780b5e1a6cda2770b277fe114ec (diff)
downloaddotfiles-5553e7a66042f30fcef94b0eb61ff2c783c8acb6.tar.lz
dotfiles-5553e7a66042f30fcef94b0eb61ff2c783c8acb6.tar.zst
dotfiles-5553e7a66042f30fcef94b0eb61ff2c783c8acb6.zip
zsh: Optimise startup
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.config/zsh/.zshrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index 49c8d1a..a970c6f 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -135,8 +135,8 @@ fi
 zplugin light agkozak/agkozak-zsh-prompt
 zplugin ice blockf wait'0' lucid
 zplugin light "zsh-users/zsh-completions"
+zplugin ice wait'1' lucid
 zplugin light "hlissner/zsh-autopair"
-zplugin light "mollifier/anyframe"
 zplugin load "dbz/kube-aliases"
 
 zplugin snippet "OMZ::lib/functions.zsh"
@@ -180,8 +180,6 @@ then
   compdef _helm helm
 fi
 
-zplugin ice wait'0' lucid atinit 'zpcompinit; zpcdreplay -q'
-zplugin light "zdharma/fast-syntax-highlighting"
 
 # General configuration
 
@@ -223,6 +221,7 @@ else
   AGKOZAK_CUSTOM_RPROMPT='${prompt_context}%(3V.%F{${AGKOZAK_COLORS_BRANCH_STATUS}%3v%f.)'
 fi
 
+zplugin light "mollifier/anyframe"
 if [[ -n $commands[fzf] ]]
 then
   zplugin snippet "https://github.com/junegunn/fzf/raw/master/shell/key-bindings.zsh"
@@ -244,3 +243,5 @@ fi
 
 unsetopt flow_control       # Let me use ^S and ^Q
 
+zplugin ice wait'0' lucid atinit'zpcompinit; zpcdreplay -q'
+zplugin light "zdharma/fast-syntax-highlighting"