]> arthur.barton.de Git - ax-zsh.git/commitdiff
axzshctl: Set AXZSH_PLUGIN_CHECK=1 when rebuilding the cache
authorAlexander Barton <alex@barton.de>
Fri, 31 Jul 2020 17:04:47 +0000 (19:04 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 31 Jul 2020 17:04:47 +0000 (19:04 +0200)
So some "sensitive" plugins are skipped, for example the ones that
would produce some output or create "stamp files".

bin/axzshctl

index c25fb442a00360177a40be854b758298fdbf22fd..c716d1688b6e7328e338a8ce74af9cca144aae05 100755 (executable)
@@ -79,7 +79,7 @@ function UpdatePluginCache {
                $AXZSH/cache/zshrc.cache \
                || return 1
        echo "Regenerating cache files ..."
-       zsh -ilc '' >/dev/null
+       AXZSH_PLUGIN_CHECK=1 zsh -ilc '' >/dev/null
 }
 
 function NormalizedPluginName {