This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: zsh startup oddity
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/