diff options
author | Andrey Borzenkov <bor@users.sourceforge.net> | 2009-01-09 20:54:35 +0000 |
---|---|---|
committer | Andrey Borzenkov <bor@users.sourceforge.net> | 2009-01-09 20:54:35 +0000 |
commit | 1a43616975310a638f76ba4f5e73757e4b071a1f (patch) | |
tree | 6f9fb10b571018ab8e3ba3d3af5286a18c2f098d /Completion/Base/Utility | |
parent | 369a03d09f1661ea92509dde0e1c45fcc9620adb (diff) | |
download | zsh-1a43616975310a638f76ba4f5e73757e4b071a1f.tar.gz zsh-1a43616975310a638f76ba4f5e73757e4b071a1f.tar.xz zsh-1a43616975310a638f76ba4f5e73757e4b071a1f.zip |
26270: allow accept-and-menu-complete work with _vallues as well
Diffstat (limited to 'Completion/Base/Utility')
-rw-r--r-- | Completion/Base/Utility/_values | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Base/Utility/_values b/Completion/Base/Utility/_values index 52c42bc70..a478a8517 100644 --- a/Completion/Base/Utility/_values +++ b/Completion/Base/Utility/_values @@ -12,6 +12,8 @@ if compvalues -i "$@"; then local noargs args opts descr action expl sep argsep subc test='*' local oldcontext="$curcontext" + compstate[list_in_word]=1 + compvalues -S argsep compvalues -s sep && [[ -n "$sep" ]] && test="[^${(q)sep}]#" |