zsh-users
 help / color / mirror / code / Atom feed
From: Bernd Steinhauser <linux@bernd-steinhauser.de>
To: zsh-users@zsh.org
Subject: Re: Gentoo startup bug
Date: Thu, 25 Oct 2012 19:00:57 +0200	[thread overview]
Message-ID: <50897049.9040708@bernd-steinhauser.de> (raw)
In-Reply-To: <50880489.1030509@sharpsaw.org>

On 24/10/12 17:08, ☈king wrote:
> On 10/24/2012 10:00 AM, Damien Thébault wrote:
>> I guess you could talk to the current maintainers of this package:
>> http://euscan.iksaif.net/package/app-shells/zsh/
> Yes, sent them a ping.
>
>> But the solution doesn't seem simple, the bug have 35 comments. I
>> think that a proposal should summarize the issues and explain the
>> change.
> https://bugs.gentoo.org/show_bug.cgi?id=19924#c33
>
> That seems like a simple, correct solution,
Mind if I ask how you come to that conclusion?
>   and it has worked fine for
> me every time I've upgraded zsh on Gentoo since I've known about it.
That's not really an appropriate way to find a correct solution. "It works" 
might be very far away from "It is correct".
> The part I'm 100% sure about is that they're resetting $path after the
> user's ~/.zshenv has run. That's wrong.
I didn't look at Gentoo's zprofile in a few years, but even if (for whatever 
reason), they would reset $path after ~/.zshenv has run I highly doubt that your 
solution is desirable (Actually, it might be desirable to reset $path, because 
it affects `zsh -f`, but I didn't invest a lot of thought into that one.).
Most likely, you misunderstood or misinterpreted what zshenv is for. There have 
been discussions about that topic zshenv vs. zshrc vs. zprofile on the zsh 
lists, you might want to search the archives for that (also look at zsh's manpage).
Or mind if I ask why you set your user changes of $path in ~/.zshenv rather than 
~/.zshrc (where it should be set, since you want it in interactive shells).
Actually, if you move the global zprofile to zshenv, it is very likely, that 
zsh's tests fail, but then, tests are not run on gentoo by default, so most 
likely you wouldn't notice that.


  reply	other threads:[~2012-10-25 17:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-24 14:25 ☈king
2012-10-24 15:00 ` Damien Thébault
2012-10-24 15:08   ` ☈king
2012-10-25 17:00     ` Bernd Steinhauser [this message]
2012-10-26  8:42       ` Peter Stephenson
2012-10-27 15:29         ` Bernd Steinhauser

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=50897049.9040708@bernd-steinhauser.de \
    --to=linux@bernd-steinhauser.de \
    --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).