This is the mail archive of the mailing list for the Cygwin 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: default shell cannot be changed from bash to tcsh

On Fri, 11 Jul 2003, Alireza Moini wrote:

> I cannot seem to change the default shell from bash to
> tcsh, despite changing the entry in passwd.
> I have attached the cygcheck -svr and passwd entry.
> ali:unused_by_nt/2000/xp:1000:513:MY
> NAME,U-ALI-WORK-PC\ali,S-xxxxxxxxxxxxxxxxxxx-1000:/home/ali:/usr/bin/tcsh
> Also even when using bash the /etc/bash.bashrc and
> ~/.bashrc are not loaded.
> Thanks for the help
> Ali


What context are you trying to change your shell in?  If you want to
change the shell invoked by the "Cygwin" desktop shortcut, you should edit
the /cygwin.bat file.  The shell in /etc/passwd is mostly used by the
incoming terminal connections, e.g., sshd or inetd.

As for the .bashrc not being invoked, see the "Bash Startup Files" section
of the bash info page.
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

Unsubscribe info:
Problem reports:

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