aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-10-14 11:25:45 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-10-14 11:25:45 -0300
commit22f598c0ce9d8bfb15294598896b7b76972124b4 (patch)
treecff4efb45bf10a107433a1cdb97d72bab88f7dc6
parent816846f69a443cc93eba82a58af614743e617715 (diff)
downloadtermplex-22f598c0ce9d8bfb15294598896b7b76972124b4.tar.gz
termplex-22f598c0ce9d8bfb15294598896b7b76972124b4.tar.bz2
Shell: change title for the specific window
-rwxr-xr-xshell2
1 files changed, 1 insertions, 1 deletions
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
}