summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--terminal-here.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/terminal-here.el b/terminal-here.el
index 53d8355..b713b26 100644
--- a/terminal-here.el
+++ b/terminal-here.el
@@ -151,7 +151,9 @@ If new is f attach to a multiplexer session called `dir'."
"Return a window name. "
(let ((command (first command)))
(cond ((string-equal command "xterm")
- (list "-title" command)))))
+ (list "-title" (mapconcat 'identity
+ (list command dir)
+ " "))))))
(defun terminal-here-multiplexer-command (dir)
"Return a multiplexer command."