This is the mail archive of the
mailing list for the Cygwin project.
Re: .bashrc and.bash_profile missing
- From: Weiqi Gao <weiqigao at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 29 Jun 2011 13:49:44 -0500
- Subject: Re: .bashrc and.bash_profile missing
- References: <firstname.lastname@example.org>
On Wed, Jun 29, 2011 at 9:42 AM, Ballaw wrote:
> I have used cygwin for Netbeans for about 6 months and today when I open the
> shell I get:
> bash: $'\r': command not found
In the past, when I get the error "'\r': command not found" from bash
in Cygwin, the cause has always been that the shell script file has
been inadvertently converted to the DOS format.
> after which the usual promt was missing and -> appeared instead.
> I opened up cygwin.bat in notpad++ and changed the path to
> home/user/cygdrive and it said it couldn't find the file but it jerked back
> to the usual prompt so I was able to look inside my home/user/ directory.
> After using ls -a it showed that this directory was completely empty, no
> .bashrc, no .bash_profile. I'm fairly new to this so I don't know why this
> is happening? ANy help would be appreciated!
Weiqi Gao (éäå)
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple