Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
compstate[old_list]
- X-seq: zsh-workers 6059
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: compstate[old_list]
- Date: Mon, 19 Apr 1999 11:18:51 +0200
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
I tried to add these lines to the top of _main_complete so that listing
widgets could be made to use an existing list of completions.
if [[ $WIDGET = *list* && -n $compconfig[old_list] &&
-n $compstate[old_list] &&
( $compconfig[old_list] = always || $compstate[old_list] != shown ) ]]; then
compstate[old_list]=keep
return
fi
But when I start a non-contextual completion, and the list is displayed by
autolist, and I then type ^D, this doesn't work --- it seems
$compstate[old_list] is not set. Is this just me?
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author