From: Francisco Borges <f.borges@rug.nl>
To: zsh-users@sunsite.dk
Subject: Re: [zsh] zsh startup files
Date: Tue, 14 Mar 2006 19:16:11 +0100 [thread overview]
Message-ID: <20060314181611.GA3972@let.rug.nl> (raw)
In-Reply-To: <Xns9786B37C1560Fzzappergmailcom@80.91.229.5>
» 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
next prev parent reply other threads:[~2006-03-14 18:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-14 17:38 zzapper
2006-03-14 18:16 ` Francisco Borges [this message]
2006-03-14 19:47 ` [zsh] " Dan Nelson
2006-03-14 19:50 ` Wayne Davison
2006-03-15 2:43 ` Bart Schaefer
2006-03-15 18:22 ` Phil Pennock
2006-03-16 19:29 ` Dominic Mitchell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060314181611.GA3972@let.rug.nl \
--to=f.borges@rug.nl \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).