From ed1f9a76ba51577db80a50484ec772851ec3b50a Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 23 Sep 2010 23:29:56 +0200 Subject: [PATCH] zsh/rc: Ignore cd and ls aliases in the window title precmd. --- zsh/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.44.2