aboutsummaryrefslogtreecommitdiff
path: root/completions/_center
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2022-11-11 20:33:07 +0100
committerThomas Voss <mail@thomasvoss.com> 2022-11-11 20:35:10 +0100
commite9ce2691c913004051c418f7457072df49ca2680 (patch)
tree50bd3b441f64024a21e7f51c0f3685a6dada3d0e /completions/_center
parent21ce4aad217872570c0f0a5a0a4e28f4bcdcf387 (diff)
Add ZSH completions
Diffstat (limited to 'completions/_center')
-rw-r--r--completions/_center11
1 files changed, 11 insertions, 0 deletions
diff --git a/completions/_center b/completions/_center
new file mode 100644
index 0000000..504028e
--- /dev/null
+++ b/completions/_center
@@ -0,0 +1,11 @@
+#compdef center
+
+_arguments -sS \
+ '-e[do not consider ANSI color escape sequences]' \
+ '-l[center files, not files]' \
+ '-r[display tabs using spaces]' \
+ '-t+[specify width of tab characters]:tab width (in columns)' \
+ '-w+[specify output width]:output width (in columns)' \
+ '*: :_files'
+
+# vi: ft=zsh