Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Multi-Minute Startup?
- X-seq: zsh-users 13110
- From: Tomasz Pala <gotar@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Multi-Minute Startup?
- Date: Thu, 7 Aug 2008 10:57:39 +0200
- In-reply-to: <c4e763ac0808070133h42445314q2b1596e74ae31697@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <c4e763ac0808062357g44f7b75amf30db12fc1535409@xxxxxxxxxxxxxx> <080807003223.ZM16536@xxxxxxxxxxxxxxxxxxxxxx> <c4e763ac0808070133h42445314q2b1596e74ae31697@xxxxxxxxxxxxxx>
On Thu, Aug 07, 2008 at 16:33:21 +0800, Aaron Davies wrote:
> zshenv just loads /etc/profile
It's certainly wrong and should be done in /etc/zprofile.
Please read "5.1 Startup/Shutdown Files".
> zshrc seems to be mostly setting options, binding editing keys, and
> initializing the completion system
zshrc file is used for _interactive_ login, so it contains functions,
aliases and terminal options (like key bindings, shell options and PS*,
which in fact are shell functions).
zprofile file is used for _login_ shell (e.g. xterm -ls, zsh -l or -zsh)
and so it contains environment settings.
--
Tomasz Pala <gotar@xxxxxxxxxxxxx>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author