From 7fe13b3b6f3cf99c414dd3a0d541f3c318d4413a Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 16 Aug 2018 14:26:28 +1000 Subject: [PATCH] Add zsh-autosuggestions, use colons to make ice modifiers easier to read --- config/zsh/zplugin | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/config/zsh/zplugin b/config/zsh/zplugin index 5600403..d637720 100644 --- a/config/zsh/zplugin +++ b/config/zsh/zplugin @@ -17,12 +17,18 @@ zplugin $load mafredri/zsh-async zplugin $load rupa/z zplugin $load sindresorhus/pure -zplugin ice atclone'dircolors -b LS_COLORS > c.zsh' atpull'%atclone' pick'c.zsh'; zplugin $load trapd00r/LS_COLORS +# We have to zcompile c.zsh manually because pick-ice apparently runs before +# atclone-ice during installation, and so can't find c.zsh to compile it. +zplugin ice pick:c.zsh atpull:%atclone atclone:'dircolors -b LS_COLORS > c.zsh && zcompile c.zsh' +zplugin $load trapd00r/LS_COLORS + +zplugin ice silent wait:1 atload:_zsh_autosuggest_start +zplugin $load zsh-users/zsh-autosuggestions zplugin ice blockf; zplugin $load zsh-users/zsh-completions -zplugin ice silent wait1; zplugin $load mollifier/cd-gitroot -zplugin ice silent wait1; zplugin $load micha/resty -zplugin ice silent wait1; zplugin $load supercrabtree/k +zplugin ice silent wait:1; zplugin $load mollifier/cd-gitroot +zplugin ice silent wait:1; zplugin $load micha/resty +zplugin ice silent wait:1; zplugin $load supercrabtree/k zplugin ice silent wait!1; zplugin $load zdharma/fast-syntax-highlighting