From 1fb9ad049c7a41531c7af252b6ebeb74bec2f2c9 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 17 Apr 2023 10:57:34 +0100 Subject: [PATCH] dot/shell-rc (__mdw_xterm_settitle): Use the correct control code. Set the icon name too. `pterm' apparently doesn't care. Other emulators might, I suppose. --- dot/shell-rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot/shell-rc b/dot/shell-rc index b8bfb3d..33403cb 100644 --- a/dot/shell-rc +++ b/dot/shell-rc @@ -175,7 +175,7 @@ __mdw_set_prompt () { __mdw_xterm_settitle () { printf >/dev/tty \ - "]2;%s@%s:%s – %s\\" \ + "]0;%s@%s:%s – %s\\" \ "$__mdw_user" "$__mdw_host$__mdw_hqual" "$PWD" \ "$1" } -- 2.11.0