Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Problem with autoloading completion functions
- X-seq: zsh-workers 6842
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: "ZSH workers mailing list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: Problem with autoloading completion functions
- Date: Fri, 25 Jun 1999 09:38:32 +0200
- In-reply-to: ""Andrej Borsenkow""'s message of "Thu, 24 Jun 1999 20:57:27 DFT." <006401bebe62$a37dddc0$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
"Andrej Borsenkow" wrote:
> I was afraid it happens sometimes ...
>
> I had this 'autoload $^fpath/*(N:t)' in my .zshrc ... and all worked nice and
> fine ... until I suddenly found that subscript does not work as expected.
>
> bor@itsrm2:~%> zsh -f
> itsrm2% bindkey -e
> itsrm2% source /tools/share/zsh/functions/compinit
> itsrm2% autoload $^fpath/*(N:t)
> itsrm2% zmodload parameter
> itsrm2% print $parameters[ksh<TAB>
> beeps
You don't mean to use $options? You really do have a *parameter* beginning
ksh?
I don't see how the extra autoload could have an effect, since Bart has
arranged that `autoload -U foo' followed by `autoload foo' keeps the -U
flag. That's the only possible change (apart from altering fpath, of
course) that could make a difference. But if you can find out what's going
on, it's probably a bug. Try diff'ing `which _subscript' output with and
without the extra autoload.
--
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