zsh-users
 help / color / mirror / code / Atom feed
From: Jarkko Maja <jarkko1982@yahoo.com>
To: zsh-users@sunsite.dk
Subject: Where to dump all functions/compctls/etc?
Date: Wed, 9 Jun 2004 13:54:10 -0700 (PDT)	[thread overview]
Message-ID: <20040609205410.2234.qmail@web60303.mail.yahoo.com> (raw)

Hi,

I googled for a little while and I'm still unsure:
where should I put my function definitions, completion
controls, environment settings etc to minimize
terminal start-up/login overhead?

I think these are obvious:

/etc/zshenv, ~/.zshenv: only most crucial system and
user env settings
/etc/logout, ~/.zlogout: stuff to be executed at
logout

Currently I have only a dozen lines of env settings at
/etc/zshenv and ~/.zshenv both, zero at /etc/zlogout
and ~/.zlogout and over 800 at ~/.zshrc
("everything"). Is there any point to move some stuff
to ~/.zprofile? Are there some cases with my current
setup where functions/compctls etc are read twice?

Any URL to a document will do also fine. (Yes, I read
man pages a couple of times, but I can't say what
would be a reason to put something to ~/.zprofile and
something to ~/.zshrc).

Thanks in advance.


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 


             reply	other threads:[~2004-06-09 20:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-09 20:54 Jarkko Maja [this message]
2004-06-09 23:05 ` Pierre HABOUZIT

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=20040609205410.2234.qmail@web60303.mail.yahoo.com \
    --to=jarkko1982@yahoo.com \
    --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).