On Tuesday 22 June 2004 16:36, Brad Bendily wrote:
leen@cc22149-a:~/tmp> head -n 6 /etc/bash.bashrc # /etc/bash.bashrc for SuSE Linux # # PLEASE DO NOT CHANGE /etc/bash.bashrc There are chances that your changes # will be lost during system upgrades. Instead use /etc/bash.bashrc.local # for your local settings, favourite global aliases, VISUAL and EDITOR # variables, etc ... leen@cc22149-a:~/tmp>
yes yes, but I made a log of the changes I made and if I have to reapply them then no big deal. plus I don't think it ever actually reads the settings from /etc/bash.bashrc.local .
Wrong. ;) (Ok, depends on your shell)
Has anyone else got this to work? It may work, it's been a while since I set things up.
leen@cc22149-a:/etc> tail -n 11 /etc/bash.bashrc | head -n 7 if test "$is" != "ash" ; then # # And now let's see if there is a local bash.bashrc # (for options defined by your sysadmin, not SuSE Linux) # test -s /etc/bash.bashrc.local && . /etc/bash.bashrc.local fi I couldn't resist to check this: it's in there since 8.0 (april 2002). ;) Cheers, Leen