From 932ed864837b8c43e475784768bd0b00728e756c Mon Sep 17 00:00:00 2001 From: dana Date: Tue, 19 Dec 2017 22:52:29 -0600 Subject: dana: 42145: Fix additional completion cases with option arguments. --- Src/Zle/computil.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Src/Zle') 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) -- cgit 1.4.1