From: Simon Ruderich Date: Thu, 23 Sep 2010 21:29:56 +0000 (+0200) Subject: zsh/rc: Ignore cd and ls aliases in the window title precmd. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=ed1f9a76ba51577db80a50484ec772851ec3b50a;p=config%2Fdotfiles.git zsh/rc: Ignore cd and ls aliases in the window title precmd. --- diff --git a/zsh/rc b/zsh/rc index 36de9bb..6b42e00 100644 --- 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