delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/02/19:13:26

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,TW_PD,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Subject: Re: How does one change the default shell?
X-KeepSent: E9EFD825:17ACBB83-85257792:007F6ACD; type=4; name=$KeepSent
Message-ID: <OFE9EFD825.17ACBB83-ON85257792.007F6ACD-85257792.007F8AD6@lnotes-gw.ent.nwie.net>
From: RISINGP1 AT nationwide DOT com
Date: Thu, 2 Sep 2010 19:13:05 -0400
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

> > Ah, so you mean how to change /bin/sh to be pdksh instead of bash. 
Simple:
> >
> > cp /bin/{pdk,}sh
> >
> > But be prepared to redo that every time you upgrade bash via 
setup.exe, 
> > and don't come crying to the list if things break that were expecting 
> > bash when they got pdksh.

Thanks.  I was hoping to effect the change environmentally - not 
have to change exe's.

Should I follow that route, no crying will ensue.

I will probably just continue using the shebang line for safety.

- Phil

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

- Raw text -


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