diff options
Diffstat (limited to 'Completion/User')
-rw-r--r-- | Completion/User/_cvs | 2 | ||||
-rw-r--r-- | Completion/User/_urls | 8 | ||||
-rw-r--r-- | Completion/User/_user_at_host | 4 | ||||
-rw-r--r-- | Completion/User/_whois | 4 |
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 |