Re: zsh as login shell

2005-10-25 Thread Vaclav Haisman
On Mon, 24 Oct 2005, Thorsten Kampe wrote: Urgh, /top-posting/, Huh? * Václav Haisman (2005-10-24 13:35 +0100) What about editing /etc/passwd? That's only used for remote logins (ssh, etc.) Vaclav Haisman -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem

Re: zsh as login shell

2005-10-25 Thread Corinna Vinschen
On Oct 25 11:38, Vaclav Haisman wrote: On Mon, 24 Oct 2005, Thorsten Kampe wrote: Urgh, /top-posting/, Huh? http://cygwin.com/acronyms/#TOFU Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com

RE: zsh as login shell

2005-10-25 Thread Williams, Gerald S \(Jerry\)
I started using zsh about 10 months ago myself. Now I can have my favorite ksh feature (two argument cd) as well as all the things I like in BASH. But I digress... I edited my /etc/profile, replacing bash with zsh, though that of course doesn't help me start ZSH from Windows. To get that, I

zsh as login shell

2005-10-24 Thread Com MN PG P E B Consultant 3
I would like to have on my Windoze desktop an Icon for zsh running under Cygwin, similar to the standard Cygwin Icon which runs a bash login shell, so that I can choose whether to get a window using bash or using zsh. It works kind of, but I can't get zsh executed as login shell. The BAT file

Re: zsh as login shell

2005-10-24 Thread Václav Haisman
choose whether to get a window using bash or using zsh. It works kind of, but I can't get zsh executed as login shell. The BAT file invoking the bash login shell calls bash using bash --login -i but zsh has no equivalent to the --login option, so I just use zsh -i which makes

RE: zsh as login shell

2005-10-24 Thread Com MN PG P E B Consultant 3
What about editing /etc/passwd? Pesonally, I use customized cygwin.bat. How exactly would this work? After all, we are talking about Windows Batch skripts, don't we? And they are not aware of /etc/passwd. But maybe I didn't get your point. How do you suggest that I should modify my

Re: zsh as login shell

2005-10-24 Thread Corinna Vinschen
On Oct 24 14:49, Com MN PG P E B Consultant 3 wrote: What about editing /etc/passwd? Pesonally, I use customized cygwin.bat. How exactly would this work? After all, we are talking about Windows Batch skripts, don't we? And they are not aware of /etc/passwd. But maybe I didn't get

Re: zsh as login shell

2005-10-24 Thread Chris Taylor
Corinna Vinschen wrote: On Oct 24 14:49, Com MN PG P E B Consultant 3 wrote: What about editing /etc/passwd? Pesonally, I use customized cygwin.bat. How exactly would this work? After all, we are talking about Windows Batch skripts, don't we? And they are not aware of /etc/passwd. But

Re: zsh as login shell

2005-10-24 Thread Igor Pechtchanski
On Mon, 24 Oct 2005, Com MN PG P E B Consultant 3 wrote: I would like to have on my Windoze desktop an Icon for zsh running under Cygwin... [snip] Zsh considers itself a login shell iff it is called under a name starting with a dash. [snip] Another possibility would be to execute a shell

Re: zsh as login shell

2005-10-24 Thread Thorsten Kampe
kind of, but I can't get zsh executed as login shell. The BAT file invoking the bash login shell calls bash using bash --login -i but zsh has no equivalent to the --login option, so I just use zsh -i Please, start making sense: zsh --help | grep -- --login But maybe someone

Re: zsh as login shell

2005-10-24 Thread Thorsten Kampe
Urgh, /top-posting/, * Václav Haisman (2005-10-24 13:35 +0100) What about editing /etc/passwd? That's only used for remote logins (ssh, etc.) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: zsh as login shell

2005-10-24 Thread Thorsten Kampe
* Com MN PG P E B Consultant 3 (2005-10-24 13:49 +0100) What about editing /etc/passwd? Pesonally, I use customized cygwin.bat. How exactly would this work? After all, we are talking about Windows Batch skripts, don't we? And they are not aware of /etc/passwd. But maybe I didn't get

Re: zsh as login shell

2005-10-24 Thread Thorsten Kampe
* Igor Pechtchanski (2005-10-24 16:36 +0100) On Mon, 24 Oct 2005, Com MN PG P E B Consultant 3 wrote: I would like to have on my Windoze desktop an Icon for zsh running under Cygwin... [snip] Zsh considers itself a login shell iff it is called under a name starting with a dash. [snip]

Re: zsh as login shell

2005-10-24 Thread Igor Pechtchanski
On Mon, 24 Oct 2005, Thorsten Kampe wrote: * Igor Pechtchanski (2005-10-24 16:36 +0100) On Mon, 24 Oct 2005, Com MN PG P E B Consultant 3 wrote: I would like to have on my Windoze desktop an Icon for zsh running under Cygwin... [snip] Zsh considers itself a login shell iff it is called

Re: zsh as login shell

2005-10-24 Thread Peter A. Castro
. Use mkzsh to do this. For help, type 'mkzsh --help' eg: mkzsh --desktop It works kind of, but I can't get zsh executed as login shell. The BAT file invoking the bash login shell calls bash using bash --login -i See the '-l' option of zsh in the manpages. eg: zsh -l but zsh has

RE: zsh as login shell

2005-10-24 Thread Com MN PG P E B Consultant 3
Use mkzsh to do this. For help, type 'mkzsh --help' Thank you, this is exactly what I was looking for. It works kind of, but I can't get zsh executed as login shell. The BAT file invoking the bash login shell calls bash using bash --login -i See the '-l' option of zsh