]> arthur.barton.de Git - ConfigScripts.git/blobdiff - user/bash_profile
Only say "bye, bye" if this seems to be the "top" session
[ConfigScripts.git] / user / bash_profile
index 9d237dd7e9f7c7009ddc54bb030b2d7e3777e7a5..554658b753f6722574ca402ed54e6c1e07dfd728 100644 (file)
@@ -1,29 +1,19 @@
 #
 # ~/.bash_profile: executed by bash(1) for login shells.
-# Written 2003-2008 by Alexander Barton (alex@barton.de)
+# Written 2003-2009 by Alexander Barton (alex@barton.de)
+#
+# This script is read in by bash login shells.
+#
+# PLEASE NOTE:
+# To make this script generic, it sources ~/bash_profile.user if it exists.
+# So you shouldn't make changes to this script, but create your own
+# individual ~/bash_profile.user file!
 #
 
-[ -e /tmp/ConfigDebug.$USER ] && echo " >> ~/.bash_profile ..."
-
-[ -z "$PROFILEREAD" -a -r $HOME/.etc/profile ] && source $HOME/.etc/profile
-
-[ -n "$LANG" ] || export LANG="de_DE.ISO8859-1"
-export LC_MESSAGES="C"
-export EMAIL="alex@barton.de"
-export WWW_HOME="http://barton.de/"
-export NNTPSERVER="news.individual.de"
-export CVS_RSH=ssh
-
-[ "$OSTYPE" != "Aux" ] && ulimit -c 2048
-
-if [ -z "$XAUTHORITY" -a -r $HOME/.Xauthority ]; then
-       cp $HOME/.Xauthority /tmp/Xauthority-$USER
-       chmod 600 /tmp/Xauthority-$USER
-       export XAUTHORITY="/tmp/Xauthority-$USER"
-fi
+[ -e ~/.ConfigScripts.debug ] && echo " >> ~/.bash_profile ..."
 
-if [ -f ~/.bashrc ]; then
-       . ~/.bashrc
-fi
+[ -z "$PROFILEREAD" -a -r ~/.etc/profile ] && source ~/.etc/profile
+[ -r ~/.bash_profile.user ] && source ~/.bash_profile.user
+[ -r ~/.bashrc ] && source ~/.bashrc
 
 # -eof-