diff options
author | Oliver Kiddle <opk@zsh.org> | 2017-09-28 00:58:21 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2017-09-28 09:31:35 +0200 |
commit | 80a02c10aa85c1b57376faede83cb90a8079c5d7 (patch) | |
tree | 9532826b76ac58ca0b15c42dbbe691b25c768a1f /Src/Zle | |
parent | 9b4962a7720b908479ad1044b1ecc83eb7832262 (diff) | |
download | zsh-80a02c10aa85c1b57376faede83cb90a8079c5d7.tar.gz zsh-80a02c10aa85c1b57376faede83cb90a8079c5d7.tar.xz zsh-80a02c10aa85c1b57376faede83cb90a8079c5d7.zip |
41772: fix bug in handling of long options with _arguments' -A option
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/computil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c index e704f9ffa..0368a07d0 100644 --- a/Src/Zle/computil.c +++ b/Src/Zle/computil.c @@ -1824,7 +1824,7 @@ ca_inactive(Cadef d, char **xor, int cur, int opts) char *x; /* current word could be a prefix of a longer one so only do * exclusions for single-letter options (for option clumping) */ - int single = (cur == compcurrent); + int single = !opts && (cur == compcurrent); for (; (x = (opts ? "-" : *xor)); xor++) { int excludeall = 0; |