Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <424D26BA.1070500@endbracket.net> Date: Fri, 01 Apr 2005 20:47:22 +1000 From: Michael Wardle User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: zsh startup oddity References: <20050401072302 DOT 134FE85080 AT pessard DOT research DOT canon DOT com DOT 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 DOT 2020008 AT endbracket DOT 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/