Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: puzzling compset -P behaviour
- X-seq: zsh-workers 16792
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Adam Spiers <adam@xxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Subject: Re: puzzling compset -P behaviour
- Date: Sun, 10 Mar 2002 16:41:35 +0000
- In-reply-to: <20020310163402.D6335@xxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20020310163402.D6335@xxxxxxxxxxxxxxxxxxxx>
On Mar 10, 4:34pm, Adam Spiers wrote:
}
} $PREFIX and $IPREFIX seem to get "reset" with nested calls to
} compset -P.
Look at the doc for $compstate[restore].
You need to assign compstate[restore]=no (or unset it) inside the functions
that want their PREFIX/SUFFIX changes to remain visible outside.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author