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: alias: not found


> -----Original Message-----
> From: Igor Pechtchanski [mailto:pechtcha@cs.nyu.edu]
> Sent: Thursday, March 25, 2004 3:00 PM
> To: Chaikin, Yaakov Y (US SSA)
> Cc: cygwin@cygwin.com
> Subject: Re: alias: not found
> 
> On Thu, 25 Mar 2004, Chaikin, Yaakov Y (US SSA) wrote:
> 
> > Hi,
> >
> > I am using WinXP Pro. Created .profile file with the following line:
> > .bashrc
> 
> It should be ". .bashrc", actually...

I tried that. When I start up cygwin it gives me this error:
Bash: ..bashrc: command not found

> 
> > Then, I created .bashrc file with the following line:
> > alias cl clear
> >
> > Restarted cygwin and got the following error message:
> > alias: not found
> 
> Which shell are you running?  Sounds like "sh".

I was under the impression that I am using "bash" shell. I am not
familiar with this.

> It's usually not a good idea to put bash-specific commands in
.profile, as
> sh also uses it.  You can use .bash_profile for bash instead.

I am not sure I am following this. Could you spell it out for me? What
do I put into what file?

Thanks,
Yaakov.


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