Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Subject: RE: alias: not found
Date: Thu, 25 Mar 2004 15:05:01 -0500
Message-ID: <728813C3358BF04CB3A3DA2341D44A719D757B@e2k11.na.baesystems.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
From: "Chaikin, Yaakov Y (US SSA)" <yaakov.y.chaikin@baesystems.com>
To: <cygwin@cygwin.com>
X-OriginalArrivalTime: 25 Mar 2004 20:05:02.0045 (UTC) FILETIME=[750588D0:01C412A4]
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i2PK5OAW011356

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


