diff options
-rw-r--r-- | Completion/Base/_brace_parameter | 2 | ||||
-rw-r--r-- | Completion/Base/_subscript | 2 | ||||
-rw-r--r-- | Completion/Builtins/_sched | 2 | ||||
-rw-r--r-- | Completion/Builtins/_stat | 2 | ||||
-rw-r--r-- | Completion/User/_tar | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/Completion/Base/_brace_parameter b/Completion/Base/_brace_parameter index 3502bd794..2268b0068 100644 --- a/Completion/Base/_brace_parameter +++ b/Completion/Base/_brace_parameter @@ -1,6 +1,6 @@ #compdef -brace-parameter- -_requested -t parameters && _parameters -e +_tags parameters && _parameters -e # Without the `-e' option, we would use the following (see the file diff --git a/Completion/Base/_subscript b/Completion/Base/_subscript index 80a3b1720..a3b97a45e 100644 --- a/Completion/Base/_subscript +++ b/Completion/Base/_subscript @@ -3,7 +3,7 @@ local expl if [[ "$PREFIX" = :* ]]; then - _wanted char-classes expl 'character class' && + _wanted characters expl 'character class' && compadd "$expl[@]" -p: -S ':]' alnum alpha blank cntrl digit graph \ lower print punct space upper xdigit elif [[ ${(Pt)${compstate[parameter]}} = assoc* ]]; then diff --git a/Completion/Builtins/_sched b/Completion/Builtins/_sched index 164cd06e4..feb7f21e7 100644 --- a/Completion/Builtins/_sched +++ b/Completion/Builtins/_sched @@ -7,7 +7,7 @@ if [[ CURRENT -eq 2 ]]; then _wanted -C - jobs expl 'scheduled jobs' || return 1 lines=(${(f)"$(sched)"}) - if _style entries description; then + if _style jobs description; then disp=( -ld lines ) else disp=() diff --git a/Completion/Builtins/_stat b/Completion/Builtins/_stat index 0d72cce0b..d0ec85550 100644 --- a/Completion/Builtins/_stat +++ b/Completion/Builtins/_stat @@ -9,7 +9,7 @@ else while _tags; do _requested options expl 'inode element' && - { ! _style elements prefix-needed || [[ "$PREFIX[1]" = + ]] } && + { ! _style options prefix-needed || [[ "$PREFIX[1]" = + ]] } && compadd "$expl[@]" - +device +inode +mode +nlink +uid +gid +rdev \ +size +atime +mtime +ctime +blksize +block +link fi diff --git a/Completion/User/_tar b/Completion/User/_tar index defaaf39a..2d7d630ab 100644 --- a/Completion/User/_tar +++ b/Completion/User/_tar @@ -107,7 +107,7 @@ elif [[ ( "$_tar_cmd" = *[xt]* || -n $del ) && -n "$tf" ]]; then _tar_cache_name=$tf fi - _wanted archived-files expl 'file from archive' && + _wanted files expl 'file from archive' && _multi_parts "$expl[@]" / _tar_cache_list else |