aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-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
}