delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/01/05:48:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <michael AT endbracket DOT net>
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>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019