This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: alias: not found
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: "Chaikin, Yaakov Y (US SSA)" <yaakov dot y dot chaikin at baesystems dot com>
- Cc: cygwin at cygwin dot com
- Date: Thu, 25 Mar 2004 15:00:20 -0500 (EST)
- Subject: Re: alias: not found
- References: <728813C3358BF04CB3A3DA2341D44A719D757A@e2k11.na.baesystems.com>
- Reply-to: cygwin at cygwin dot com
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@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.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/