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
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
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
> 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}
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
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
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
7 matches
Mail list logo