This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: zsh startup oddity


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]