Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Multi-Minute Startup?



On Thu, Aug 7, 2008 at 4:57 PM, Tomasz Pala <gotar@xxxxxxxxxx> wrote:
> 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".

fair enough. i'm just reporting on the way it's currently set up, i
didn't write these. this is a suse enterprise 9.3 box, anyone know if
this is a standard suse config?

>> 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.

so as far as segregation of z* functions, this one is OK?
-- 
Aaron Davies
aaron.davies@xxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author