From: Mark Wooding Date: Mon, 17 Apr 2023 09:57:34 +0000 (+0100) Subject: dot/shell-rc (__mdw_xterm_settitle): Use the correct control code. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/1fb9ad049c7a41531c7af252b6ebeb74bec2f2c9 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. --- 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" }