This is the mail archive of the cygwin 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: Changing default remote shell under Cygwin


On Sat, 8 Apr 2006, Murali Suriar wrote:

> Igor Peshansky <pechtcha <at> cs.nyu.edu> writes:
>
> > On Sat, 8 Apr 2006, Murali Suriar wrote:
> >
> > > I was wondering what configuration file I need to edit in order to
> > > make ZSH to default shell on login?
> >
> > Change the user's shell in /etc/passwd.  Make sure you use something
> > that keeps the LF line endings (i.e., not notepad).
> > HTH,
>
> It does indeed. Thanks very much. On a related note, on a university
> system where chsh and ypchsh are disabled, I take it there's no way for
> me to change my login shell to ZSH? I'd have to start a BASH instance
> and drop into ZSH from there?

Not Cygwin-specific at all, but you can create a ~/.bash_profile that
contains the following one line:

exec -l /usr/bin/zsh

For more help, read the startup section of the bash manpage.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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/


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