From cb872c59bf77832640c4a8060344fa993ebd7007 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sat, 9 Dec 2023 13:30:18 +0100 Subject: [PATCH] axzshctl: Add "help" and "version" to help text and completion config --- bin/axzshctl | 5 +++++ core/40_axzsh/functions/_axzsh | 2 ++ 2 files changed, 7 insertions(+) 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' # -- 2.39.2