Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <424D26BA.1070500@endbracket.net>
Date: Fri, 01 Apr 2005 20:47:22 +1000
From: Michael Wardle <michael@endbracket.net>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: zsh startup oddity
References: <20050401072302.134FE85080@pessard.research.canon.com.au>
In-Reply-To: <20050401072302.134FE85080@pessard.research.canon.com.au>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Luke Kendall wrote:
> (I.e. after starting a login zsh, you'd have to explicitly source
> ~/.zlogin or whatever).

By what mechanism are you ensuring zsh is invoked as a login shell 
rather than a non-login shell?

Does $- include "i"?
Does setopt show that interactive is on?

With Cygwin 1.5.13, zsh 4.2.4-1 and the simple shell invocation utility 
posted to this list on March 24 <4242381E.2020008@endbracket.net> (which 
sets argv[0] to "-zsh"), zsh recognizes that it is a login shell and 
correctly sources .zprofile.

You've probably already checked these things, but I'd be surprised if 
this behavior was due to file permissions.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

