On 11 January 2011 12:01, David Sastre wrote: >>> Also, I'd appreciate opinions regarding the guard-like tests in some >>> config files, namely /etc/profile, /etc/bash.bashrc, ~/.bash_profile >>> and ~/.bashrc. I'm not very convinced about including them. >> >> Why do we need them? I don't see equivalent tests on Linux... > > There aren't, indeed. > > And re-thinking the idea, those tests are not needed in any of the > files but maybe in /etc/bash.bashrc, which is definitely affected by > changes in this version of base-files that modify the order in which > startup files are read.
I think you're right, the guard is only needed in /etc/bash.bashrc. Andy