From: Oleg Broytman Date: Mon, 22 Feb 2016 17:57:13 +0000 (+0300) Subject: bin/xtitle: refactoring X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=b0e4766f74b0e2213eadc6871f6ff8c79ed7dc07 bin/xtitle: refactoring --- 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