]> arthur.barton.de Git - ConfigScripts.git/commitdiff
Better debug logging, display when script really starts
authorAlexander Barton <alex@barton.de>
Sun, 15 Jun 2014 23:48:00 +0000 (01:48 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 15 Jun 2014 23:48:00 +0000 (01:48 +0200)
sys/bashrc
sys/profile
user/bash_logout
user/bash_profile
user/bashrc

index efb445fbdcb05877f398479b3b12986bc1ce4726..e2f26287c9826d0f128ebd41a8a4f09e5311d831 100644 (file)
@@ -3,13 +3,15 @@
 # Written 2003-2014 by Alexander Barton (alex@barton.de)
 #
 
-[ -e ~/.ConfigScripts.debug ] && echo " >> /etc/bash.bashrc ..."
+[ -e ~/.ConfigScripts.debug ] && echo " .. /etc/bash.bashrc ..."
 
 BASHRCREAD="true"
 
 [ -z "$PROFILEREAD" -a -r /etc/profile ] && source /etc/profile
 [ -z "$PROFILEREAD" -a -r ~/.etc/profile ] && source ~/.etc/profile
 
+[ -e ~/.ConfigScripts.debug ] && echo " >> /etc/bash.bashrc ..."
+
 # Interactive shell?
 [ "$PS1" ] || return
 
index a190bd78f570c76e8d84de594808f3533487f2aa..18559d333d7a04eba4a7bc5fb177c50795f62580 100644 (file)
@@ -4,11 +4,13 @@
 # Written 2003-2014 by Alexander Barton (alex@barton.de)
 #
 
-[ -e ~/.ConfigScripts.debug ] && echo " >> /etc/profile ..."
+[ -e ~/.ConfigScripts.debug ] && echo " .. /etc/profile ..."
 
 PROFILEREAD="true"
 export PROFILEREAD
 
+[ -e ~/.ConfigScripts.debug ] && echo " >> /etc/profile ..."
+
 # Setup locale and encoding
 if [ -e ~/.ConfigScripts.debug ]; then
        echo " - TERM=\"$TERM\""
index c22c8f9ba5043838197fd4fafa9b196e8baab0f7..8265c8d4370f16217105c69c9429921fab2d1d28 100644 (file)
 # individual ~/bash_logout.user file!
 #
 
-[ -e ~/.ConfigScripts.debug ] && echo " >> ~/.bash_logout ..."
+[ -e ~/.ConfigScripts.debug ] && echo " .. ~/.bash_logout ..."
 
 [ -r ~/.bash_logout.user ] && source ~/.bash_logout.user
 
+[ -e ~/.ConfigScripts.debug ] && echo " >> ~/.bash_logout ..."
+
 # Clean up SSH agents, if running and not using keychain(1)
 if [ $SSH_AGENT_PID ]; then
        type -t keychain >/dev/null || eval `ssh-agent -k`
index 554658b753f6722574ca402ed54e6c1e07dfd728..a01661385e077407998b1358f57e4d41cf3b5bad 100644 (file)
 # individual ~/bash_profile.user file!
 #
 
-[ -e ~/.ConfigScripts.debug ] && echo " >> ~/.bash_profile ..."
+[ -e ~/.ConfigScripts.debug ] && echo " .. ~/.bash_profile ..."
 
 [ -z "$PROFILEREAD" -a -r ~/.etc/profile ] && source ~/.etc/profile
 [ -r ~/.bash_profile.user ] && source ~/.bash_profile.user
+
+[ -e ~/.ConfigScripts.debug ] && echo " >> ~/.bash_profile ..."
+
+# Add commands here ...
+
 [ -r ~/.bashrc ] && source ~/.bashrc
 
 # -eof-
index 96a43950ce1168f872a5df86f7d141bf1fbf6d37..ce7fd8d10ef6046e875af8e19a5df5a840d726bb 100644 (file)
 # individual ~/bashrc.user file!
 #
 
-[ -e ~/.ConfigScripts.debug ] && echo " >> ~/.bashrc ..."
+[ -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
 
+[ -e ~/.ConfigScripts.debug ] && echo " >> ~/.bashrc ..."
+
 # -eof-