]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
zsh/rc: Ignore cd and ls aliases in the window title precmd.
authorSimon Ruderich <simon@ruderich.org>
Thu, 23 Sep 2010 21:29:56 +0000 (23:29 +0200)
committerSimon Ruderich <simon@ruderich.org>
Thu, 23 Sep 2010 21:30:58 +0000 (23:30 +0200)
zsh/rc

diff --git a/zsh/rc b/zsh/rc
index 36de9bb1d860ad784fa6de918e2ea217b2f6771e..6b42e00fd3d29749f50067c83d913a273620fc2f 100644 (file)
--- a/zsh/rc
+++ b/zsh/rc
@@ -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