chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0b02a11
)
dot/shell-rc (__mdw_xterm_settitle): Use the correct control code.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 17 Apr 2023 09:57:34 +0000
(10:57 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 17 Apr 2023 09:57:34 +0000
(10:57 +0100)
Set the icon name too. `pterm' apparently doesn't care. Other
emulators might, I suppose.
dot/shell-rc
patch
|
blob
|
blame
|
history
diff --git
a/dot/shell-rc
b/dot/shell-rc
index b8bfb3d77a9e195ed5444f6286246a8cd7099955..33403cb8c14eb931463d4fbd2b1a64f48bdba884 100644
(file)
--- a/
dot/shell-rc
+++ b/
dot/shell-rc
@@
-175,7
+175,7
@@
__mdw_set_prompt () {
__mdw_xterm_settitle () {
printf >/dev/tty \
- "
\e
]
2
;%s@%s:%s – %s
\e
\\" \
+ "
\e
]
0
;%s@%s:%s – %s
\e
\\" \
"$__mdw_user" "$__mdw_host$__mdw_hqual" "$PWD" \
"$1"
}