From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28667 invoked by alias); 9 Feb 2010 14:24:40 -0000 Received: (qmail 28587 invoked by uid 22791); 9 Feb 2010 14:24:39 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.tatravelcenters.com (HELO lnxsrv02.ta.com) (12.229.13.229) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 09 Feb 2010 14:24:35 +0000 Received: from tanotes.ta.com ([10.98.1.44] helo=tanotes.tatravelcenters.com) by lnxsrv02.ta.com (envelope-from ) with esmtp (Exim 4.69) id 1NeqxK-000617-4c; Tue, 09 Feb 2010 09:20:46 -0500 In-Reply-To: <82839db61002090613q71ad993i3441ea83b7b65573@mail.gmail.com> References: <82839db61002090613q71ad993i3441ea83b7b65573@mail.gmail.com> To: ichbinanon@gmail.com Cc: cygwin-xfree@cygwin.com MIME-Version: 1.0 Subject: Re: Changing interactive shell from Bash to Zsh X-KeepSent: D768DA9C:2EAE24F8-852576C5:004EA261; type=4; name=$KeepSent Message-ID: From: Wood.Chris@tatravelcenters.com Date: Tue, 09 Feb 2010 14:24:00 -0000 Content-Type: text/plain; charset="US-ASCII" X-IsSubscribed: yes Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2010-02/txt/msg00054.txt.bz2 Add exec zsh -l at the end of your .bash_profile Chris From: Anonymous bin ich 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/