From b62147b1778f4a53492ef73731c8327a9e636888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20Logerais=20=28Numericable=20-=20Ing=C3=A9nierie?= =?UTF-8?q?=20Syst=C3=A8me=29?= Date: Thu, 5 Dec 2013 13:41:08 +0100 Subject: [PATCH] Modified function term_change_title --- libs/term.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/term.bash b/libs/term.bash index 7544822..c0d317b 100755 --- a/libs/term.bash +++ b/libs/term.bash @@ -5,12 +5,12 @@ function term_change_title case $TERM in # Change the window title of X terminals xterm*|rxvt*|urxvt*|Eterm) - PROMPT_COMMAND='echo -ne "\033]0;${1}\007"' + echo -ne "\033]0;${1}\007" ;; # Change the window title of screen terminals screen*) - PROMPT_COMMAND='echo -ne "\033k${1}\033\\"' + echo -ne "\033k${1}\033\\" ;; esac