diff options
author | dana <dana@dana.is> | 2017-12-19 22:52:29 -0600 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2017-12-20 09:07:28 +0000 |
commit | 932ed864837b8c43e475784768bd0b00728e756c (patch) | |
tree | bcb214accfc45389c5d830d4cf122ce3434b56ec /Src | |
parent | 4b55c0f40c21a6e57fc8e71515c3f39df6a30f67 (diff) | |
download | zsh-932ed864837b8c43e475784768bd0b00728e756c.tar.gz zsh-932ed864837b8c43e475784768bd0b00728e756c.tar.xz zsh-932ed864837b8c43e475784768bd0b00728e756c.zip |
dana: 42145: Fix additional completion cases with option arguments.
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Zle/computil.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c index 71d61563b..0b1ba58dc 100644 --- a/Src/Zle/computil.c +++ b/Src/Zle/computil.c @@ -2493,7 +2493,9 @@ ca_set_data(LinkList descr, LinkList act, LinkList subc, * the case above right. */ if (arg->type == CAA_NORMAL && - opt && optdef && optdef->type == CAO_NEXT) + opt && optdef && + (optdef->type == CAO_NEXT || optdef->type == CAO_ODIRECT || + optdef->type == CAO_OEQUAL)) return; if (single) |