delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/25/15:05:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
content-class: urn:content-classes:message
MIME-Version: 1.0
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 DOT y DOT chaikin AT baesystems DOT com>
To: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 25 Mar 2004 20:05:02.0045 (UTC) FILETIME=[750588D0:01C412A4]
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i2PK5OAW011356

> -----Original Message-----
> From: Igor Pechtchanski [mailto:pechtcha AT cs DOT nyu DOT edu]
> Sent: Thursday, March 25, 2004 3:00 PM
> To: Chaikin, Yaakov Y (US SSA)
> Cc: cygwin AT cygwin DOT 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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019