delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/07/19:26:39

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 7 Jul 2005 16:23:50 -0700 (PDT)
From: "Peter A. Castro" <doctor AT fruitbat DOT org>
To: Spack <spack DOT world AT gmail DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Cygwin and zsh...
In-Reply-To: <3cb332210507071608758c7c3c@mail.gmail.com>
Message-ID: <Pine.LNX.4.60.0507071616550.9565@gremlin.fruitbat.org>
References: <3cb332210507071608758c7c3c AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

On Thu, 7 Jul 2005, Spack wrote:

> I've tried to change the default shell (bash) to zsh by changing the
> appropriated line in the /etc/passwd file but when I reload cygwin I'm
> always on bash. How can I change the default shell ?

The stock startup script (cygwin.bat) has bash hardcoded in it, so if
you're starting it from the icon, that's why.  If you're starting it from
some other method, well, you'll have to give a little more info on that
first (my mind reading skills are a little rusty :)

You can create zsh icons using the mkzsh command, if you don't want to
modify the stock Cywin script.  Run mkzsh to get a list of options, then
run it again with options to create zsh scripts.  Of course, you can
simply copy cygwin.bat and modify that to your hearts content.

> PS: I've installed zsh but I've not looking for the /etc/shells file.

Ok, so what are you expecting to find in /etc/shells and how does that
relate to you running your shell of choice?

-- 
Peter A. Castro <doctor AT fruitbat DOT org> or <Peter DOT Castro AT oracle DOT com>
 	"Cats are just autistic Dogs" -- Dr. Tony Attwood

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019