Mail Archives: cygwin/2005/10/24/08:35:25
--------------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--
- Raw text -