summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Bock <christopher@bocki.com>2025-05-24 11:24:25 +0200
committerdana <dana@dana.is>2025-05-25 02:36:36 -0500
commit454bc91dea21dce7dba1aa506428f6a50f1b426b (patch)
tree792dc2e30bc32a3eecc05d719ab58b14387503a9
parent53662: tests: add extra namespace tests (diff)
downloadzsh-454bc91dea21dce7dba1aa506428f6a50f1b426b.tar
zsh-454bc91dea21dce7dba1aa506428f6a50f1b426b.tar.gz
zsh-454bc91dea21dce7dba1aa506428f6a50f1b426b.tar.bz2
zsh-454bc91dea21dce7dba1aa506428f6a50f1b426b.tar.lz
zsh-454bc91dea21dce7dba1aa506428f6a50f1b426b.tar.xz
zsh-454bc91dea21dce7dba1aa506428f6a50f1b426b.tar.zst
zsh-454bc91dea21dce7dba1aa506428f6a50f1b426b.zip
github #137: completion: add cacaclock (caca-utils)
with minor tweaks to fix things lost when addressing feedback
-rw-r--r--ChangeLog6
-rw-r--r--Completion/Unix/Command/_cacaclock10
2 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0a0f64301..4a0d2a773 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-05-25 dana <dana@dana.is>
+
+ * github #137 (tweaked): Christopher Bock:
+ Completion/Unix/Command/_cacaclock: completion: add cacaclock
+ (caca-utils)
+
2025-05-24 dana <dana@dana.is>
* 53662: Test/K02parameter.ztst: add extra namespace tests
diff --git a/Completion/Unix/Command/_cacaclock b/Completion/Unix/Command/_cacaclock
new file mode 100644
index 000000000..869c8f434
--- /dev/null
+++ b/Completion/Unix/Command/_cacaclock
@@ -0,0 +1,10 @@
+#compdef cacaclock
+
+local -a arguments=(
+ '(-d --dateformat)'{-d+,--dateformat=}'[use specified format as strftime argument]: :_date_formats'
+ '(-f --font)'{-f+,--font=}'[use specified font for time display]:font file:_files -g "/usr/share/figlet/*.tlf"'
+ '(-)'{-h,--help}'[display usage help]'
+ '(-)'{-v,--version}'[display version information]'
+)
+
+_arguments $arguments