Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: FPATH being reset after .zshenv
- X-seq: zsh-users 4082
- From: martin.ebourne@xxxxxxxxxxxx
- To: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- Subject: RE: FPATH being reset after .zshenv
- Date: Wed, 1 Aug 2001 12:05:29 +0100
- Cc: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
What do you mean exactly? If you used it in a *function* inside a
.zshenv
and then changed FPATH inside the same function, then it should have
described effect.
Right again. All my config is in a hierarchy of directories in multiple
files. All the config ends up in a function for two reasons:
(i) I use a function to check the file's location and execute the file, and
(ii) the zsh profiler works on functions and it allows me to usefully
profile the startup config.
I just tried with ~/.zshenv looking like
FPATH=foo:$FPATH
typeset -U FPATH
and fpath is not cleared (and never was).
Okay, I'm sure that's what it'll do.
Could you show your .zshrc?
Well I could but there's rather a lot. (1720 lines/29 files of normal
config, and 4210 lines/105 files of autoloaded functions which it makes use
of.) The problem's solved now though, so perhaps I'll leave that for
another time when I can't figure out what's wrong. ;)
Thanks for your rapid reply,
Martin.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author