From 043a26ea99d84d11423b2dc53949a2df518d2c35 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 13 Mar 2009 19:00:42 +0100 Subject: [PATCH] zsh: Fix display of running program on linux console. This fix is additional to 4a38bc3a4780c7450a64e236344a3205506c7d46. --- zsh/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh/rc b/zsh/rc index 0618ee4..f936b91 100644 --- a/zsh/rc +++ b/zsh/rc @@ -135,7 +135,7 @@ fi # It works with screen and xterm. If screen is running in X11 (DISPLAY is set) # and stumpwm is used (it's tested if stumpish is available) then the window # title is also set in stumpwm using stumpish. -if [[ $TERM == screen || $TERM == xterm* ]]; then +if [[ $TERM == screen* || $TERM == xterm* ]]; then # Set to a non empty value to reset the window name in the next precmd() # call. window_reset=yes @@ -197,7 +197,7 @@ if [[ $TERM == screen || $TERM == xterm* ]]; then # Sets the window title. Works with screen and xterm. window_title() { - if [[ $TERM == screen ]]; then + if [[ $TERM == screen* ]]; then print -n "\ek$1\e\\" # Update window name in stumpwm if running screen in X11 and when -- 2.44.1