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

Re: zsh 4.3.9-dev-2, two test failures on NetBSD



On Tue, Apr 21, 2009 at 10:35:37AM +0100, Peter Stephenson wrote:
> On Mon, 20 Apr 2009 21:48:22 +0000
> Paul Ackersviller <pda@xxxxxxxxxxxxxxxx> wrote:
> > Thanks, you're right it was /bin/sh.  The system turns out to have a
> > stty in /etc/profile that's really intended only for interactive shells.
> > The test is for login shells, so that makes sense.  Could there be a way to
> > work around such breakage to /etc/profile?  I can't think of anything easy.
> 
> It might help to use zsh instead of sh here; zsh respects -f for login
> shells and all we need to know is whether the "-" is at the start of the
> line.

Perfect, that does get around the problem.  I wasn't even aware -f had
that effect!



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