From 22f598c0ce9d8bfb15294598896b7b76972124b4 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 14 Oct 2014 11:25:45 -0300 Subject: Shell: change title for the specific window --- shell | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell b/shell index e2a48c1..aa1b8d2 100755 --- a/shell +++ b/shell @@ -12,7 +12,7 @@ COMMAND="$2" # http://stackoverflow.com/questions/899609/gnu-screen-run-script-that-sends-commands-to-the-screen-session-it-is-being-run function screen_title { if [ -n "$STY" ]; then - screen -X title $1 + screen -p $WINDOW -X title $1 fi } -- cgit v1.2.3