More idiomatically initialise completions

This commit is contained in:
Danielle McLean 2018-08-16 14:06:57 +10:00
parent c1b1fbfe5d
commit 6ad61cd30b
Signed by: 00dani
GPG key ID: 8EB789DDF3ABD240

View file

@ -1,8 +1,7 @@
source $ZDOTDIR/zplugin source $ZDOTDIR/zplugin
for f in $ZDOTDIR/interactive/*(N); source $f for f in $ZDOTDIR/interactive/*(N); source $f
autoload -Uz zrecompile zpcompinit && zpcdreplay
zpcompinit
([[ $ZPGLM[ZCOMPDUMP_PATH].zwc -nt $ZPGLM[ZCOMPDUMP_PATH] ]] || zcompile $ZPLGM[ZCOMPDUMP_PATH]) &! ([[ $ZPGLM[ZCOMPDUMP_PATH].zwc -nt $ZPGLM[ZCOMPDUMP_PATH] ]] || zcompile $ZPLGM[ZCOMPDUMP_PATH]) &!
[[ -o login ]] && for f in $ZDOTDIR/interactive+login/*(N); source $f [[ -o login ]] && for f in $ZDOTDIR/interactive+login/*(N); source $f