Fwd: Re: Incorrect commandline history with bash
koitsu at FreeBSD.org
Mon Sep 22 00:28:26 UTC 2008
On Sun, Sep 21, 2008 at 06:45:22PM -0400, Garance A Drosihn wrote:
> At 2:52 PM -0700 9/21/08, Jeremy Chadwick wrote:
>> Individual did not CC the mailing list on his response.
>> ----- Forwarded message from manish jain <unxfbsdi at gmail.com> -----
>> > Thanks Jeremy. Sourcing .bash_profile from .bashrc solved the
>> > problem. For some reason, sourcing .bashrc from .bash_profile
>> > worked equally well with the version of Linux I was previously
>> > using.
>>> Manish Jain
>> ----- end message from manish jain <unxfbsdi at gmail.com> -----
> I do not understand how that makes any difference. He had all his
> commands in .bashrc, and sourced it from .bash_profile. If he
> moves all his commands to .bash_profile, and then sources that
> from his .bashrc, then isn't the result exactly the same? Either
> way, all commands should be executed no matter how bash starts up.
The INVOCATION section of the bash man page goes over the subtle
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |
More information about the freebsd-ports