]> arthur.barton.de Git - ax-zsh.git/blobdiff - bin/axzshctl
axzshctl: Add "update-caches" command
[ax-zsh.git] / bin / axzshctl
index 64402bf70fed2d3bc03e2a79c83448463ed3c7ab..405f955a0e93147114aaa26865da941769d209af 100755 (executable)
@@ -45,6 +45,8 @@ function Usage {
        echo
        echo "  upgrade"
        echo "    Upgrade AX-ZSH installation (requires Git)."
+       echo "  update-caches"
+       echo "    Force rebuild of all cache files."
        echo
        exit 2
 }
@@ -374,6 +376,10 @@ case "$cmd" in
                UpgradeForeignPlugins
                UpdatePluginCache
                ;;
+       "update-caches")
+               [[ $# -eq 0 ]] || Usage
+               UpdatePluginCache
+               ;;
        *)
                Usage
 esac