From: Mikael Magnusson <mikachu@gmail.com>
To: TJ Luoma <tj@luo.ma>
Cc: Christian Neukirchen <chneukirchen@gmail.com>,
"zsh-users@zsh.org" <zsh-users@zsh.org>
Subject: Re: root's path
Date: Sat, 17 Mar 2012 16:02:51 +0100 [thread overview]
Message-ID: <CAHYJk3TautnUEd54UkDZvEKh2cTJneNgv51PUBvjWL39HHYEZw@mail.gmail.com> (raw)
In-Reply-To: <CAHYJk3TswTKD1uvishkHpZzKPz8K8vLiHMeNAv6D_5SPr_bHmQ@mail.gmail.com>
On 17 March 2012 15:54, Mikael Magnusson <mikachu@gmail.com> wrote:
> On 17 March 2012 15:52, TJ Luoma <tj@luo.ma> wrote:
>> Fwiw, Zsh on the Mac inits its path from /etc/zshenv
>
> I know, that's a bug in osx.
>
>> The global environmental variable has to be set _somewhere_ otherwise
>> there's nothing for shells to inherit.
>
> Like I said, the correct place to set it is in the profile file for
> the login shell.
Side note, they do set the path in the correct file when bash is the
login shell, ie /etc/profile.
18:47 <necromancer> when i load zsh as my shell in mac os x, i noticed
it takes a bit longer than bash to run login and show my prompt
18:48 <Mikachu> osx does at least one stupid thing in the global rc,
maybe they do other stupid things too
18:53 <et> necromancer: comment out the path_helper thing in
/etc/zshenv and set the paths yourself
18:53 <necromancer> thanks
18:55 <Mikachu> that's the stupid thing i know about, is it also slow?
18:57 <necromancer> MUCH faster now that i removed that..
18:57 <necromancer> thanks et
18:58 <Mikachu> two birds in one stone
19:00 <et> Mikachu: it scans directories and files, and if the
accesses aren't cached, it's quite slow
16:02 <Mikachu> luuse: do you have a /etc/zprofile?
16:03 <luuse> no
16:03 <Mikachu> and /etc/profile contains a call to path_helper?
16:05 <luuse> yes
--
Mikael Magnusson
next prev parent reply other threads:[~2012-03-17 15:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-17 1:45 sergio
2012-03-17 4:44 ` Benjamin R. Haskell
2012-03-17 8:58 ` sergio
[not found] ` <alpine.LNX.2.01.1203170040230.18133__19065.733991056$1331959656$gmane$org@hp.internal>
2012-03-17 11:13 ` Christian Neukirchen
2012-03-17 11:21 ` Mikael Magnusson
2012-03-17 14:52 ` TJ Luoma
2012-03-17 14:54 ` Mikael Magnusson
2012-03-17 15:02 ` Mikael Magnusson [this message]
2012-03-17 15:33 ` Bart Schaefer
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=CAHYJk3TautnUEd54UkDZvEKh2cTJneNgv51PUBvjWL39HHYEZw@mail.gmail.com \
--to=mikachu@gmail.com \
--cc=chneukirchen@gmail.com \
--cc=tj@luo.ma \
--cc=zsh-users@zsh.org \
/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).