Changing interactive shell from Bash to Zsh

Anonymous bin ich ichbinanon@gmail.com
Tue Feb 9 14:13:00 GMT 2010


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/



More information about the Cygwin-xfree mailing list