about summary refs log tree commit diff
path: root/Completion/User
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-11-16 09:19:32 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-11-16 09:19:32 +0000
commita4054ed26295617a5c4914daa1b76f9d4781be12 (patch)
treea0e219a308a5d89024c841e6dd37401a09ddfa61 /Completion/User
parentf6df6307ead281818ce6d469f55a3e807c877c3e (diff)
downloadzsh-a4054ed26295617a5c4914daa1b76f9d4781be12.tar.gz
zsh-a4054ed26295617a5c4914daa1b76f9d4781be12.tar.xz
zsh-a4054ed26295617a5c4914daa1b76f9d4781be12.zip
zsh-workers/8647
Diffstat (limited to 'Completion/User')
-rw-r--r--Completion/User/_cvs2
-rw-r--r--Completion/User/_urls8
-rw-r--r--Completion/User/_user_at_host4
-rw-r--r--Completion/User/_whois4
4 files changed, 9 insertions, 9 deletions
diff --git a/Completion/User/_cvs b/Completion/User/_cvs
index cac9132b7..8bc57b403 100644
--- a/Completion/User/_cvs
+++ b/Completion/User/_cvs
@@ -575,7 +575,7 @@ _cvs_files_removed () {
     local omit
     omit=(${pref}*(D:t))
     eval 'entries=(${entries:#('${(j:|:)${(@)omit:q}}')})'
-    _tags direcories && compadd "$@" -P "$qpref" - ${entries:q} ||
+    _tags directories && compadd "$@" -P "$qpref" - ${entries:q} ||
     _cvs_directories "$@"
   else
     _files "$@"
diff --git a/Completion/User/_urls b/Completion/User/_urls
index 787f3c0ca..265fadae8 100644
--- a/Completion/User/_urls
+++ b/Completion/User/_urls
@@ -54,7 +54,7 @@ fi
 ipre="$IPREFIX"
 
 if ! compset -P '(#b)([-+.a-z0-9]#):' &&
-   _wanted argument prefixes expl 'URL prefix'; then
+   _wanted -C argument prefixes expl 'URL prefix'; then
   [[ -d $urls_path/bookmark ]] &&
     compadd "$@" "$expl[@]" -S '' bookmark: && ret=0
   compadd "$@" "$expl[@]" -S '' file: ftp:// gopher:// http:// && ret=0
@@ -65,7 +65,7 @@ scheme="$match[1]"
 case "$scheme" in
   http|ftp|gopher)
     if ! compset -P //; then
-      _wanted -C "$scheme" slashes expl 'end of prefix' &&
+      _wanted -C "$scheme" prefixes expl 'end of prefix' &&
           compadd "$expl[@]" "$@" -S '' //
       return
     fi
@@ -86,11 +86,11 @@ case "$scheme" in
   bookmark)
     if [[ -f "$urls_path/$scheme/$PREFIX$SUFFIX" &&
 	  -s "$urls_path/$scheme/$PREFIX$SUFFIX" ]]; then
-      _wanted -C bookmark caches expl biikmarks &&
+      _wanted -C bookmark bookmarks expl bookmarks &&
           compadd "$expl[@]" "$@" -QU - \
               "$ipre$(<"$urls_path/$scheme/$PREFIX$SUFFIX")" && ret=0
     else
-      if _wanted -C bookmark files 'bookmark'; then
+      if _wanted -C bookmark files expl 'bookmark'; then
         _path_files -W "$urls_path/$scheme" "$expl[@]" -S '' -g '*(^/)' && 
             ret=0
         _path_files -W "$urls_path/$scheme" -S/ -r '/' -/ && ret=0
diff --git a/Completion/User/_user_at_host b/Completion/User/_user_at_host
index 1f93daacc..78e5a12aa 100644
--- a/Completion/User/_user_at_host
+++ b/Completion/User/_user_at_host
@@ -5,9 +5,9 @@ if [[ -prefix 1 *@ ]]; then
 
   compset -P 1 '*@'
 
-  _wanted -C user-at hosts expl "hostnames for $user" &&
+  _wanted -C user-at hosts expl "host for $user" &&
       _combination accounts_users_hosts users="$user" hosts "$expl[@]" "$@"
 else
-  _wanted users expl "usernames" &&
+  _wanted users expl "user" &&
       _combination accounts_users_hosts users -S@ -q "$expl[@]" "$@"
 fi
diff --git a/Completion/User/_whois b/Completion/User/_whois
index 97306871e..0d2675d47 100644
--- a/Completion/User/_whois
+++ b/Completion/User/_whois
@@ -204,7 +204,7 @@ _whois:whois.internic.net () {
   if (( CURRENT == 1 )); then
     local expl
 
-    _wanted string expl string && compadd "$expl[@]" HELP DOMAIN HOST
+    _wanted strings expl string && compadd "$expl[@]" HELP DOMAIN HOST
   else
     _message 'string'
   fi
@@ -215,7 +215,7 @@ _whois:whois.nic.ad.jp () {
   if (( CURRENT == 1 )); then
     local expl
 
-    _wanted string expl string && compadd HELP DOM NET HOST PERSON CONN COM
+    _wanted strings expl string && compadd HELP DOM NET HOST PERSON CONN COM
   else
     _message 'string'
   fi