From b0e4766f74b0e2213eadc6871f6ff8c79ed7dc07 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 22 Feb 2016 20:57:13 +0300 Subject: [PATCH] bin/xtitle: refactoring --- bin/xtitle | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/bin/xtitle b/bin/xtitle index 4530949..4c1cefc 100755 --- a/bin/xtitle +++ b/bin/xtitle @@ -8,11 +8,10 @@ case "$TERM" in TITLE="$@" fi echo -ne "\033]0;${TITLE}\007" # Set xterm title - ;; -esac - -case "$TERM" in - screen*) - echo -ne "\033k${TITLE}\033\\" # Set screen/tmux caption + case "$TERM" in + screen*) + echo -ne "\033k${TITLE}\033\\" # Set screen/tmux caption + ;; + esac ;; esac -- 2.39.5