Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: FPATH being reset after .zshenv
- X-seq: zsh-users 4081
- From: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: martin.ebourne@xxxxxxxxxxxx
- Subject: RE: FPATH being reset after .zshenv
- Date: Wed, 1 Aug 2001 14:37:36 +0400
- Cc: zsh-users@xxxxxxxxxx
- Importance: Normal
- In-reply-to: <OFA68A7FC5.868D0315-ON80256A9B.0037D096@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
>
> I've looked into it some more, and found the culprit. I had the following
> line earlier on:
>
> typeset -U FPATH
>
> which obviously makes the parameter local as a side effect. I've
> changed it
> to -Ug now which is working fine.
>
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.
I just tried with ~/.zshenv looking like
FPATH=foo:$FPATH
typeset -U FPATH
and fpath is not cleared (and never was).
Could you show your .zshrc?
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author