diff options
| author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-07 12:43:31 +0000 |
|---|---|---|
| committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-07 12:43:31 +0000 |
| commit | d779b43f42b331841f6ffa973f77f9fb97811b84 (patch) | |
| tree | 37ba3860599cb4aac9482bc2c577d196d5bcc2c0 /Completion/Base/_values | |
| parent | complete make targets of the form `foo bar:' (10575) (diff) | |
| download | zsh-d779b43f42b331841f6ffa973f77f9fb97811b84.tar zsh-d779b43f42b331841f6ffa973f77f9fb97811b84.tar.gz zsh-d779b43f42b331841f6ffa973f77f9fb97811b84.tar.bz2 zsh-d779b43f42b331841f6ffa973f77f9fb97811b84.tar.lz zsh-d779b43f42b331841f6ffa973f77f9fb97811b84.tar.xz zsh-d779b43f42b331841f6ffa973f77f9fb97811b84.tar.zst zsh-d779b43f42b331841f6ffa973f77f9fb97811b84.zip | |
make sure caller-supplied explanation takes precedence (10579)
Diffstat (limited to 'Completion/Base/_values')
| -rw-r--r-- | Completion/Base/_values | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Completion/Base/_values b/Completion/Base/_values index 62cf0e409..eff7b94ce 100644 --- a/Completion/Base/_values +++ b/Completion/Base/_values @@ -141,8 +141,9 @@ if compvalues -i "$@"; then # Otherwise we call it with the description-arguments built above. eval "action=( $action )" - _all_labels arguments expl "$descr" \ - "$action[1]" "$subopts[@]" "${(@)action[2,-1]}" + while _next_label arguments expl "$descr"; do + "$action[1]" "$subopts[@]" "$expl[@]" "${(@)action[2,-1]}" + done fi fi |
