This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Changing interactive shell from Bash to Zsh
- From: Wood dot Chris at tatravelcenters dot com
- To: ichbinanon at gmail dot com
- Cc: cygwin-xfree at cygwin dot com
- Date: Tue, 9 Feb 2010 09:20:34 -0500
- Subject: Re: Changing interactive shell from Bash to Zsh
- References: <82839db61002090613q71ad993i3441ea83b7b65573@mail.gmail.com>
- Reply-to: cygwin-xfree at cygwin dot com
Add
exec zsh -l
at the end of your .bash_profile
Chris
From: Anonymous bin ich <ichbinanon@gmail.com>
To: cygwin-xfree@cygwin.com
Date: 02/09/2010 09:13 AM
Subject: Changing interactive shell from Bash to Zsh
Sent by: cygwin-xfree-owner@cygwin.com
Hi!
I am having trouble changing my shell from Bash to Zsh.
Since there is no chsh, I have tried adding "exec zsh -l" to .bashrc
Unfortunately, since cygwin is started as "interactive login shell",
it doesn't read .bashrc and so it starts as bash
If I source .bashrc from .bash_profile (which I don't like), then it
works.
But then I cannot start X server from the start menu shortcut because
bash reads .bashrc, executes zsh and exits; even though startxwin.exe
is called by "bash -l".
So, is there a way to change shell?
--
Regards,
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/