From 6ad61cd30bdc67617c1e8a73fc5921a3bc8eb5f2 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 16 Aug 2018 14:06:57 +1000 Subject: [PATCH] More idiomatically initialise completions --- config/zsh/zshrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/zsh/zshrc b/config/zsh/zshrc index 7fb326d..96a299d 100644 --- a/config/zsh/zshrc +++ b/config/zsh/zshrc @@ -1,8 +1,7 @@ source $ZDOTDIR/zplugin for f in $ZDOTDIR/interactive/*(N); source $f -autoload -Uz zrecompile -zpcompinit +zpcompinit && zpcdreplay ([[ $ZPGLM[ZCOMPDUMP_PATH].zwc -nt $ZPGLM[ZCOMPDUMP_PATH] ]] || zcompile $ZPLGM[ZCOMPDUMP_PATH]) &! [[ -o login ]] && for f in $ZDOTDIR/interactive+login/*(N); source $f