chiark / gitweb /
dot/shell-rc: Put the hostname qualifiers in the terminal title.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 9 May 2020 23:47:27 +0000 (00:47 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 9 May 2020 23:47:27 +0000 (00:47 +0100)
dot/shell-rc

index d6a218a18cf5e997e7888989102365b564d6926f..3c168b0b017b66ab51294165ce7b1b1ef0d1e2a5 100644 (file)
@@ -148,7 +148,7 @@ __mdw_set_prompt () {
 __mdw_xterm_settitle () {
   printf >/dev/tty \
     "\e]2;%s@%s:%s – %s\e\\" \
-    "$USER" "$__mdw_host" "$PWD" \
+    "$USER" "$__mdw_host$__mdw_hqual" "$PWD" \
     "$1"
 }
 __mdw_xterm_precmd () { __mdw_xterm_settitle "$__mdw_shell"; }