From 4371e1a831cf57d8475fdbc5fc1848cc3ba66257 Mon Sep 17 00:00:00 2001 From: Freed-Wu Date: Fri, 1 Apr 2022 11:28:41 +0800 Subject: [PATCH] Add completion for hello --- src/_hello | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/_hello diff --git a/src/_hello b/src/_hello new file mode 100644 index 0000000..e8dafdf --- /dev/null +++ b/src/_hello @@ -0,0 +1,19 @@ +#compdef hello +# ------------------------------------------------------------------------------ +# Description +# ----------- +# +# Completion script for GNU hello (https://www.gnu.org/software/hello/). +# +# ------------------------------------------------------------------------------ +# Authors +# ------- +# +# * Wu Zhenyu +# +# ------------------------------------------------------------------------------ + +_arguments -s '(- *)'{-h,--help}'[display this help and exit]' \ + '(- *)'{-v,--version}'[display version information and exit]' \ + {-t,--traditional}'[use traditional greeting]' \ + {-g,--greeting=}'[use TEXT as the greeting message]:TEXT'