]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Improve source_debug() output.
authorSimon Ruderich <simon@ruderich.org>
Sat, 18 Sep 2010 22:19:28 +0000 (00:19 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 18 Sep 2010 22:19:28 +0000 (00:19 +0200)
bash/logout
bash/rc
shell/env
zsh/env
zsh/logout
zsh/rc

index af130c6adbe09e1c97db1b4133b88ea883d67a7a..90cb162216800e265afc5a11fd2b62fab506f762 100644 (file)
@@ -1,11 +1,11 @@
 # Bash logout file.
 
 
-source_debug "sourcing ~/.bash/logout"
+source_debug ". ~/.bash/logout"
 
 # Load logout file usable by all shells.
 source_config ~/.shell "" logout
 
-source_debug "finished sourcing ~/.bash/logout"
+source_debug ". ~/.bash/logout (done)"
 
 # vim: ft=sh
diff --git a/bash/rc b/bash/rc
index 05317d9bc955a3687a1b6b6018ce9a4fe8091e7f..7243ceb963138fbb99f7f923e0540a94f11f55dc 100644 (file)
--- a/bash/rc
+++ b/bash/rc
@@ -19,7 +19,7 @@ else
     }
 fi
 
-source_debug "sourcing ~/.bash/rc"
+source_debug ". ~/.bash/rc"
 
 # Load global env file for current hostname (first part before a dot) or
 # global env.local.
@@ -49,6 +49,6 @@ fi
 # Load rc file for current hostname (first part before a dot) or rc.local.
 source_config ~/.bash host rc $host
 
-source_debug "finished sourcing ~/.bash/env"
+source_debug ". ~/.bash/rc (done)"
 
 # vim: ft=sh
index ba94f390f9dc13b3f2249b5eca1b5f08c78f3fc9..1b9750fee9a466915dfd000cf72d358fbb01000b 100644 (file)
--- a/shell/env
+++ b/shell/env
@@ -12,7 +12,7 @@ source_debug() {
 }
 
 
-source_debug "sourcing ~/.shell/env"
+source_debug ". ~/.shell/env"
 
 
 # Use UTF-8 encoding in the terminal. Don't use LC_ALL as it's used for
@@ -157,6 +157,6 @@ source_config() {
     unset source_file source_file_local
 }
 
-source_debug "finished sourcing ~/.shell/env"
+source_debug ". ~/.shell/env (done)"
 
 # vim: ft=sh
diff --git a/zsh/env b/zsh/env
index cff3f197bff73de256b7d294a7484410c48c146a..aaeb4939d174f5b57d15b8b28e5b4e6b67a5b58b 100644 (file)
--- a/zsh/env
+++ b/zsh/env
@@ -17,7 +17,7 @@ else
     }
 fi
 
-source_debug "sourcing ~/.zsh/env"
+source_debug ". ~/.zsh/env"
 
 
 # Make sure elements in PATH are unique.
@@ -31,6 +31,6 @@ source_config ~/.shell "" env $host
 # Load env file for current hostname (first part before a dot) or env.local.
 source_config ~/.zsh host env $host
 
-source_debug "finished sourcing ~/.zsh/env"
+source_debug ". ~/.zsh/env (done)"
 
 # vim: ft=zsh
index 8564cdb8c05d3272760a7caebd98a198fb81a830..f231a3127cb42047607e461e93b1c6fc5a61859c 100644 (file)
@@ -1,11 +1,11 @@
 # Zsh logout file.
 
 
-source_debug "sourcing ~/.zsh/logout"
+source_debug ". ~/.zsh/logout"
 
 # Load logout file usable by all shells.
 source_config ~/.shell "" logout
 
-source_debug "finished sourcing ~/.zsh/logout"
+source_debug ". ~/.zsh/logout (done)"
 
 # vim: ft=zsh
diff --git a/zsh/rc b/zsh/rc
index 21b65a9c76ee9f09bbff519ce43fdb0e0120860b..b94e24eca6dbc1b8656404fa06c16251192e4a3b 100644 (file)
--- a/zsh/rc
+++ b/zsh/rc
@@ -1,7 +1,7 @@
 # Zsh configuration file.
 
 
-source_debug "sourcing ~/.zsh/rc"
+source_debug ". ~/.zsh/rc"
 
 # MISCELLANEOUS SETTINGS
 
@@ -638,6 +638,6 @@ if [[ $TERM != dumb && -z $STY ]]; then
 fi
 
 
-source_debug "finished sourcing ~/.zsh/rc"
+source_debug ". ~/.zsh/rc (done)"
 
 # vim: ft=zsh