Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Something odd in _match
- X-seq: zsh-workers 6960
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "ZSH workers mailing list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Something odd in _match
- Date: Sat, 3 Jul 1999 16:49:10 +0400
- Importance: Normal
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Is it really supposed to be so:
if (( ret )); then
[[ "$compconfig[match_insert]" = unambig* &&
$#compstate[unambiguous] -ge ${#:-${PREFIX}${SUFFIX}} ]] &&
^^^^^^^
compstate[pattern_insert]=unambiguous
return 0
fi
and in another place (near the end) the same and even worse :-)
if (( ! ret )); then
[[ "$compconfig[match_insert]" = unambig* &&
$#compstate[unambiguous] -ge ${#:-${PREFIX}${SUFFIX}} ]] &&
compstate[pattern_insert]=unambiguous
fi
In this case we don't even have a command to execute after condition.
/andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author