Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <435CD4FE.4090205@sh.cvut.cz> Date: Mon, 24 Oct 2005 14:35:10 +0200 From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) MIME-Version: 1.0 Cc: cygwin AT cygwin DOT com Subject: Re: zsh as login shell References: <6F0CB04509C11D46A54232E852E390AC44B951 AT MCHP7R6A DOT ww002 DOT siemens DOT net> In-Reply-To: <6F0CB04509C11D46A54232E852E390AC44B951@MCHP7R6A.ww002.siemens.net> OpenPGP: id=733031B4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCF014CB2DEB2DC5B15B61717" X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com --------------enigCF014CB2DEB2DC5B15B61717 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable What about editing /etc/passwd? Pesonally, I use customized cygwin.bat. V=C3=A1clav Hasiman Com MN PG P E B Consultant 3 wrote: > I would like to have on my Windoze desktop an Icon for zsh running under >=20 > 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. >=20 > 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 >=20 > bash --login -i >=20 > but zsh has no equivalent to the --login option, so I just use >=20 > zsh -i >=20 > which makes the shell interactive, but not login. Zsh considers itself a > login > shell iff it is called under a name starting with a dash. >=20 > Is there an elegant solution to this problem? Of course I could >=20 > cp -- zsh -zsh >=20 > and call -zsh, but I would have then to redo this everytime I update zsh > to a=20 > newer version. Another possibility would be to execute a shell script > using > bash and in this script do an >=20 > exec -a -zsh zsh -I >=20 > But maybe someone knows a better way to do this? >=20 > Ronald=20 --------------enigCF014CB2DEB2DC5B15B61717 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQEVAwUBQ1zU/m56zbtzMDG0AQKEvggAhfbScsnxNxmT6aKJXr1HjVjIJH3k+d/K XqscgYybwaHmxFmKRd32SZHKUuKnxrOnLNyIKX5i2eOAeOuoAHOuGz/uWXIR4Wmu zCVdx7HUwHJn6lBYEaqaCkmHvCHcYAEM2fFESoyhFjoPZp6RSeFVvwwq5aGw2KQ4 rlZkfRz1I5rn0UwPrm6DoA4a9IFbe2vZlm51IdzdTDoYpWLLubmVyT9G6e1sH+dM j7C61cNOj7j6jpV5glNz7CviBHLjW6ZG7F9+UtwKl7iiJtntPk3h9r7SaXczqQ3s 6wfaRrICR6HrHGndG9RDUW6SNs3JJ9RB0NXJnmn78qS0OzC7jJonBg== =xCf3 -----END PGP SIGNATURE----- --------------enigCF014CB2DEB2DC5B15B61717--