From 918b3894baaa475e30d86b389ddca73a5ea58638 Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Tue, 27 Mar 2018 17:56:02 +0300 Subject: terminal-here-terminal-window-name: Add directory. * terminal-here.el (terminal-here-terminal-window-name): Add directory. --- terminal-here.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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." -- cgit v1.2.3