This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Changing interactive shell from Bash to Zsh


On Tue, Feb 9, 2010 at 3:20 PM,  <Wood.Chris@tatravelcenters.com>  wrote:
> Add
>
> exec zsh -l
>
> at the end of your .bash_profile
>
Then I cannot start X server from start menu icons. All I see in
taskmanager is 1 process of bash and 1 subprocess of zsh.
>
>
> 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,
>
>
>
>
>



-- 
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]