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

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 25 Mar 2004 15:00:20 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Chaikin, Yaakov Y (US SSA)" <yaakov DOT y DOT chaikin AT baesystems DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: alias: not found
In-Reply-To: <728813C3358BF04CB3A3DA2341D44A719D757A@e2k11.na.baesystems.com>
Message-ID: <Pine.GSO.4.56.0403251458420.19054@slinky.cs.nyu.edu>
References: <728813C3358BF04CB3A3DA2341D44A719D757A AT e2k11 DOT na DOT baesystems DOT com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

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

> 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".

> Am I missing a package that I should download and install? If so, which
> package?
>
> Thanks,
> Yaakov.

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.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,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:      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