aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rwxr-xr-xshell4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell b/shell
index 0d6758e..4c4321a 100755
--- a/shell
+++ b/shell
@@ -12,9 +12,9 @@ COMMAND="$2"
# http://stackoverflow.com/questions/899609/gnu-screen-run-script-that-sends-commands-to-the-screen-session-it-is-being-run
function window_title {
if [ -n "$STY" ]; then
- screen -p $WINDOW -X title $1
+ screen -p $WINDOW -X title "$*"
else
- xtitle $1
+ xtitle "$*"
fi
}