diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-04 12:14:06 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-04 12:14:06 +0000 |
commit | 3c3ffa433dca8c6c396d1cca734bc349a91b9797 (patch) | |
tree | 3e64c1b3747450bca87394a65812dfdd1b7a1f82 /Src | |
parent | f336a17793e41cd3c8e9c7a07f22471ae20f4ac7 (diff) | |
download | zsh-3c3ffa433dca8c6c396d1cca734bc349a91b9797.tar.gz zsh-3c3ffa433dca8c6c396d1cca734bc349a91b9797.tar.xz zsh-3c3ffa433dca8c6c396d1cca734bc349a91b9797.zip |
zsh-workers/9562
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Zle/computil.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c index f771357d1..7aeb30edb 100644 --- a/Src/Zle/computil.c +++ b/Src/Zle/computil.c @@ -1406,7 +1406,8 @@ bin_comparguments(char *nam, char **args, char *ops, int func) return 1; } case 'O': - if (ca_laststate.opt || (ca_laststate.doff && ca_laststate.def)) { + if (ca_laststate.opt || (ca_laststate.doff && ca_laststate.def) || + (ca_laststate.def && ca_laststate.def->type == CAA_OPT)) { LinkList next = newlinklist(); LinkList direct = newlinklist(); LinkList odirect = newlinklist(); |