aboutsummaryrefslogtreecommitdiff
path: root/completions/_center
diff options
context:
space:
mode:
Diffstat (limited to 'completions/_center')
-rw-r--r--completions/_center14
1 files changed, 7 insertions, 7 deletions
diff --git a/completions/_center b/completions/_center
index 504028e..16238d9 100644
--- a/completions/_center
+++ b/completions/_center
@@ -1,11 +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'
+_arguments -s -S \
+ '(-e --ignore-ansi)'{-e,--ignore-ansi}'[do not consider ANSI color escape sequences]' \
+ '(-l --longest)'{-l,--longest}'[center files, not files]' \
+ '(-r --spaces)'{-r,--spaces}'[display tabs using spaces]' \
+ '(-t --tabsize)'{-t+,--tabsize=}'[specify width of tab characters]:integer' \
+ '(-w --width)'{-w+,--width=}'[specify output width]:integer' \
+ '*:file:_files'
# vi: ft=zsh