Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Problem with autoloading completion functions
- X-seq: zsh-workers 6835
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "ZSH workers mailing list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Problem with autoloading completion functions
- Date: Thu, 24 Jun 1999 20:57:27 +0400
- Importance: Normal
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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
Now, how many users do have the same in .zshrc? This autoloading was suggested
by some of Zsh docs (may be FAQ?) I agree, that it is nice trick - you can
simply get all functions at the *end* of .zshrc as I had it.
/andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author