]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - zsh/rc
zsh/rc: Ignore cd and ls aliases in the window title precmd.
[config/dotfiles.git] / zsh / rc
diff --git a/zsh/rc b/zsh/rc
index 21b65a9c76ee9f09bbff519ce43fdb0e0120860b..6b42e00fd3d29749f50067c83d913a273620fc2f 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
 
@@ -340,7 +340,7 @@ if [[ $TERM == screen* || $TERM == xterm* || $TERM == rxvt* ]]; then
         # Ignore often used commands which are only running for a very short
         # time. This prevents a "blinking" name when it's changed to "cd" for
         # example and then some milliseconds later back to "zsh".
-        [[ $program_name == (cd*|ls|la|ll|clear|c) ]] && return
+        [[ $program_name == (cd*|d|ls|l|la|ll|clear|c) ]] && return
 
         # Change my shortcuts so the real name of the program is displayed.
         case $program_name in
@@ -613,8 +613,7 @@ fi
 
 # LOAD ADDITIONAL CONFIGURATION FILES
 
-# Load rc file for current hostname (first part before a dot) or rc.local.
-source_config ~/.zsh host rc ${$(hostname)//.*/}
+source_config ~/.zsh/rc.local
 
 
 # RUN COMMANDS
@@ -638,6 +637,6 @@ if [[ $TERM != dumb && -z $STY ]]; then
 fi
 
 
-source_debug "finished sourcing ~/.zsh/rc"
+source_debug ". ~/.zsh/rc (done)"
 
 # vim: ft=zsh