xinglp wrote:
> 2013/10/25 Bruce Dubbs <[email protected]>:
>> xinglp wrote:
>>> http://www.linuxfromscratch.org/blfs/view/svn/postlfs/profile.html
>>>
>>> One in /etc/bashrc, another in
>>>
>>> /etc/profile.d/dircolors.sh
>>
>> Actually both are needed.  If you log in via the command line, then the
>> one in dircolors is run, but /etc/bashrc is not.  In a non-login shell,
>> (type bash from the command line) the one in ~/.bashrc sources
>> /etc/bashrc.  aliases need to be reset at each bash invocation.

> Then, why not let  /etc/bashrc /etc/profile.d/*.sh

You can do that for yourself if you want.  That's not the way the bash 
invocation was designed.  It adds unneeded overhead and is not what 
users expect.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to