From: Alexander Barton Date: Sat, 15 Feb 2020 16:39:12 +0000 (+0100) Subject: axzshctl: Don't show title for "UpdatePluginCache" when called internally X-Git-Url: https://arthur.barton.de/gitweb/?p=ax-zsh.git;a=commitdiff_plain;h=9095623ee910bf1d2b080368783465842d0cefa2 axzshctl: Don't show title for "UpdatePluginCache" when called internally --- diff --git a/bin/axzshctl b/bin/axzshctl index c051bfd..af10fab 100755 --- a/bin/axzshctl +++ b/bin/axzshctl @@ -57,7 +57,7 @@ function Usage { function UpdatePluginCache { [[ -r "$AXZSH/cache" ]] || return 0 - ax_msg - "Updating plugin cache ..." + [[ "$1" = "-v" ]] && ax_msg - "Updating plugin cache ..." rm -rf \ $AXZSH/cache/zlogin.cache \ $AXZSH/cache/zlogout.cache \ @@ -419,7 +419,7 @@ case "$cmd" in ;; "update-caches") [[ $# -eq 0 ]] || Usage - UpdatePluginCache + UpdatePluginCache -v ;; "--help") Usage