This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: zsh as login shell
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Com MN PG P E B Consultant 3 <mn-pg-p-e-b-consultant-3 dot com at siemens dot com>
- Cc: cygwin at cygwin dot com
- Date: Mon, 24 Oct 2005 11:36:19 -0400 (EDT)
- Subject: Re: zsh as login shell
- References: <6F0CB04509C11D46A54232E852E390AC44B951@MCHP7R6A.ww002.siemens.net>
- Reply-to: cygwin at cygwin dot com
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 script using bash and in
> this script do an
>
> exec -a -zsh zsh -I
>
> But maybe someone knows a better way to do this?
The latter sounds like the best solution. You could do it directly from
the batch file by using
bash -c 'exec -l /usr/bin/zsh -i'
HTH,
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA
--
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/