]> arthur.barton.de Git - ConfigScripts.git/blobdiff - user/bashrc
Add support for ~/.bashrc.user-1st file
[ConfigScripts.git] / user / bashrc
index d4bfc0b3d6b39da33afb29f2addf624ecb908623..96a43950ce1168f872a5df86f7d141bf1fbf6d37 100644 (file)
@@ -1,11 +1,22 @@
 #
 # ~/.bashrc: executed by bash(1) for non-login shells.
-# Written 2006-2008 by Alexander Barton (alex@barton.de)
+# Written 2006-2009 by Alexander Barton (alex@barton.de)
+#
+# This script is read in by interactive bash shells, called manually or
+# as login shells (the latter is implemented by sourcing this file from
+# the ~/.bash_profile file).
+#
+# PLEASE NOTE:
+# To make this script generic, it sources ~/bashrc.user if it exists.
+# So you shouldn't make changes to this script, but create your own
+# individual ~/bashrc.user file!
 #
 
 [ -e ~/.ConfigScripts.debug ] && echo " >> ~/.bashrc ..."
 
+[ -r ~/.bashrc.user-1st ] && source ~/.bashrc.user-1st
 [ -z "$BASHRCREAD" -a -r ~/.etc/bashrc ] && source ~/.etc/bashrc
+[ -z "$BASHRCREAD" -a -r /etc/bashrc ] && source /etc/bashrc
 [ -r ~/.bashrc.user ] && source ~/.bashrc.user
 
 # -eof-