From: Alexander Barton Date: Sat, 9 Dec 2023 12:30:18 +0000 (+0100) Subject: axzshctl: Add "help" and "version" to help text and completion config X-Git-Url: https://arthur.barton.de/gitweb/?p=ax-zsh.git;a=commitdiff_plain;h=cb872c59bf77832640c4a8060344fa993ebd7007;hp=c3c33a143313ab4266103bd4f9be72d6523cf12a axzshctl: Add "help" and "version" to help text and completion config --- diff --git a/bin/axzshctl b/bin/axzshctl index 828ee9b..d64c307 100755 --- a/bin/axzshctl +++ b/bin/axzshctl @@ -74,6 +74,11 @@ function Usage { echo " update-caches" echo " Force rebuild of all cache files." echo + echo " help" + echo " Show this help text." + echo " version" + echo " Show version and setup information." + echo exit 0 } diff --git a/core/40_axzsh/functions/_axzsh b/core/40_axzsh/functions/_axzsh index 960a76b..ed3eab7 100644 --- a/core/40_axzsh/functions/_axzsh +++ b/core/40_axzsh/functions/_axzsh @@ -14,6 +14,8 @@ _axzshctl() { set-theme\:"Set active theme." upgrade\:"Upgrade AX-ZSH installation (requires Git)." update-caches\:"Force rebuild of all cache files." + version\:"Show version and setup information." + help\:"Show help for the axzshctl command." ))' \ '*: :->args' #