about summary refs log tree commit diff
path: root/Completion/Zsh/Command
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2005-06-08 12:45:24 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2005-06-08 12:45:24 +0000
commit0ba8ae87eac21281e0b17eb9cbb523d133067a4a (patch)
tree614cc49ce90c3c2562f83d6739f8ea76dc75d7f0 /Completion/Zsh/Command
parent9181f0e3059862d2d8cc109bc849f8705cbbc23c (diff)
downloadzsh-0ba8ae87eac21281e0b17eb9cbb523d133067a4a.tar.gz
zsh-0ba8ae87eac21281e0b17eb9cbb523d133067a4a.tar.xz
zsh-0ba8ae87eac21281e0b17eb9cbb523d133067a4a.zip
21315: make completion functions give precendence to descriptions passed as
parameters and cleanup descriptons in calling functions
Diffstat (limited to 'Completion/Zsh/Command')
-rw-r--r--Completion/Zsh/Command/_print2
-rw-r--r--Completion/Zsh/Command/_read2
-rw-r--r--Completion/Zsh/Command/_unhash2
3 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Zsh/Command/_print b/Completion/Zsh/Command/_print
index 07cb4de1d..af0501b7a 100644
--- a/Completion/Zsh/Command/_print
+++ b/Completion/Zsh/Command/_print
@@ -25,7 +25,7 @@ _arguments -C -s -A "-*" -S \
   '(-n -l -N -f -s -z)-a[with -c/-C, print arguments across before down]' \
   '(-n -l -N -f -C -s -z)-c[print arguments in columns]' \
   '(-n -l -N -f -c -s -z)-C+[print arguments in specified number of columns]:columns' \
-  '(-s -p -z)-u+[specify file-descriptor to print arguments to]:file-descriptor:_file_descriptors' \
+  '(-s -p -z)-u+[specify file descriptor to print arguments to]:file descriptor:_file_descriptors' \
   '(-s -p -u)-z[push arguments onto editing buffer stack]' \
   '-D[substitute any arguments which are named directories using ~ notation]' \
   '-P[perform prompt expansion]' \
diff --git a/Completion/Zsh/Command/_read b/Completion/Zsh/Command/_read
index acf356a44..1f733b0e8 100644
--- a/Completion/Zsh/Command/_read
+++ b/Completion/Zsh/Command/_read
@@ -17,5 +17,5 @@ _arguments -s -A "-*" -S \
   '(-e)-E[input read is echoed]' \
   '(-q -z -p)-s[suppress terminal echoing]' \
   '-A[first name is taken as an array]' \
-  '(-q -z -p)-u+[specify file-descriptor to read from]:file-descriptor:_file_descriptors' \
+  '(-q -z -p)-u+[specify file descriptor to read from]:file descriptor:_file_descriptors' \
   $pflag '1:varprompt:_vars -qS\?' '*:vars:_vars'
diff --git a/Completion/Zsh/Command/_unhash b/Completion/Zsh/Command/_unhash
index 54c8d1669..c05c27ea3 100644
--- a/Completion/Zsh/Command/_unhash
+++ b/Completion/Zsh/Command/_unhash
@@ -6,7 +6,7 @@ _arguments -C -s -S \
   '(-a -f -s *)-d[remove named directories]:*:named directory:->nameddir' \
   '(-d -f -s *)-a[remove aliases]:*:alias:_aliases' \
   '(-a -d -f *)-s[remove suffix aliases]:*:suffix alias:_aliases -s s' \
-  '(-d -a -s *)-f[remove functions]:*:function:_functions' \
+  '(-d -a -s *)-f[remove functions]:*:shell function:_functions' \
   '-m[treat arguments as patterns]' \
   '(-a -d -f -m)*:command: _command_names -e' && return 0