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: <424D2C38.9080704@endbracket.net>
Date: Fri, 01 Apr 2005 21:10:48 +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> <424D26BA.1070500@endbracket.net>
In-Reply-To: <424D26BA.1070500@endbracket.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Michael Wardle wrote:
> 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?

Whoops!

The appropriate shell option is "login" rather than "interactive", so 
obviously I'd be looking for "setopt | grep login".

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

