Re: bash load

2008-07-21 Thread r
On 2008-07-18, Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Fri, Jul 18, 2008 at 02:56:05PM +, 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

Re: bash load

2008-07-18 Thread r
Christopher Faylor cygwin.com> writes: > You edited the file with an editor that adds CRLF line endings. > > Use d2u to remove the "\r"s. > > cgf ok I'll try on monday in office -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/p

Re: bash load

2008-07-18 Thread Christopher Faylor
On Fri, Jul 18, 2008 at 02:56:05PM +, 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

Re: bash load

2008-07-18 Thread r
> 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}

Re: bash load

2008-07-18 Thread Greg Chicares
On 2008-07-18 14:01Z, r wrote: > I'm trying to set variables and aliases to /home/.bashrc > but bash doesn't read it. I tried to change > /etc/skel/.bashrc and /etc/defaults/etc/skel/.bashrc > but bash doesn't read thats too. > How can I do to make bash

Re: bash load

2008-07-18 Thread Mark J. Reed
That's a general bash question, not Cygwin-specific; I recommend looking here: http://www.faqs.org/faqs/unix-faq/shell/bash/ 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 i

bash load

2008-07-18 Thread r
I'm trying to set variables and aliases to /home/.bashrc but bash doesn't read it. I tried to change /etc/skel/.bashrc and /etc/defaults/etc/skel/.bashrc but bash doesn't read thats too. How can I do to make bash read my configuration file ? -- Unsu