From 2e129db7ad4c65020d1c7ff56d19bf6c4d7bfcaa Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 17 Mar 2017 10:17:59 +0300 Subject: [PATCH] bin/xtitle: fix bashism --- bin/xtitle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/xtitle b/bin/xtitle index 4c1cefc..f734659 100755 --- a/bin/xtitle +++ b/bin/xtitle @@ -1,4 +1,4 @@ -#! /usr/bin/env bash +#! /bin/sh case "$TERM" in *rxvt*|screen*|*term*|vt100) @@ -7,10 +7,10 @@ case "$TERM" in else TITLE="$@" fi - echo -ne "\033]0;${TITLE}\007" # Set xterm title + echo -n "\033]0;${TITLE}\007" # Set xterm title case "$TERM" in screen*) - echo -ne "\033k${TITLE}\033\\" # Set screen/tmux caption + echo -n "\033k${TITLE}\033\\" # Set screen/tmux caption ;; esac ;; -- 2.39.2