This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bash load


On 2008-07-18, Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com> wrote:
> On Fri, Jul 18, 2008 at 02:56:05PM +0000, r wrote:
>>
>>> But the short answer is that bash reads either .bashrc (non-login
>>> shell) or .bash_profile (login shell), but not both.  If you want the
>>> stuff in your .bashrc to be loaded in a login shell, you need to
>>> source it explicitly inside your .bash_profile via something like
>>> this:
>>> 
>>> . "${HOME}"/.bashrc
>>> 
>>> Also make sure that the .bash files are in your actual home directory,
>>> which is usually not /home but /home/YourUserName...
>>> 
>>
>>
>>Ok, it seems is solved putting .bash_profile in my $HOME dir.
>>But when I lunch cygwin before to appear bash login it appares
>>error messages :
>>
>>bash: $'\r': command not found   
>
> You edited the file with an editor that adds CRLF line endings.
>
> Use d2u to remove the "\r"s.
>
> cgf
>

great, its done

rgrd
r


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]