Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: FPATH being reset after .zshenv
- X-seq: zsh-users 4079
- From: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: martin.ebourne@xxxxxxxxxxxx, zsh-users@xxxxxxxxxx
- Subject: RE: FPATH being reset after .zshenv
- Date: Wed, 1 Aug 2001 13:52:01 +0400
- Importance: Normal
- In-reply-to: <OF14D5A1D9.91032FEF-ON80256A9B.00335186@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
>
> I would like to enable a number of my local functions for autoloading in
> all instances of zsh - interactive or otherwise.
>
> To do this I have modified fpath and registered functions for autoloading
> in the .zshenv file, which as I understand it is the only one it will
> always execute.
>
Even this one is skipped if zsh is started with -f or NO_RCS option is set
in /etc/zshenv. It is the only file that is garanteed to be executed.
> Unfortunately it seems that zsh resets the fpath after executing this file
> (it is empty while running the file). It does however, remember the
> autoload commands, which obviously then become useless.
>
I cannot reproduce it. Are you sure it is not reset in any other startup
file?
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author