This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: How does one change the default shell?
- From: RISINGP1 at nationwide dot com
- To: cygwin at cygwin dot com
- Date: Thu, 2 Sep 2010 19:13:05 -0400
- Subject: Re: How does one change the default shell?
> > 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