zsh startup oddity
Michael Wardle
michael@endbracket.net
Fri Apr 1 11:10:00 GMT 2005
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/
More information about the Cygwin
mailing list