Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [zsh] zsh startup files
- X-seq: zsh-users 10019
- From: Francisco Borges <f.borges@xxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: [zsh] zsh startup files
- Date: Tue, 14 Mar 2006 19:16:11 +0100
- In-reply-to: <Xns9786B37C1560Fzzappergmailcom@xxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Alfa Informatica - Rijksuniversiteit Groningen
- References: <Xns9786B37C1560Fzzappergmailcom@xxxxxxxxxxx>
» On Tue, Mar 14, 2006 at 05:38PM +0000, zzapper wrote:
> At the risk of exposing my ignorance, I think there's a concept of multi-
> level startup files of type .z* such that ideally you don't have rerun all
> your setup every time you run say a small 3 line script.
>
> I've got everything in my ~/.zshenv can I do better?
There is also .zlogin and .zshrc.
You should move all the "interactive" part of your .zshenv into .zshrc,
i.e. anything that you won't need to run your scripts. My zshenv is
mostly about setting $PATH and other non interactive env. variables.
While I'm sure there is good use for dot-login files, I never discovered
which would be these...
Oh, yes... there is .zlogout as well, but I haven't found a good excuse
to create one.
Cheers,
Francisco
Messages sorted by:
Reverse Date,
Date,
Thread,
Author