]> git.phdru.name Git - dotfiles.git/commitdiff
bin/s: Restore term title
authorOleg Broytman <phd@phdru.name>
Mon, 6 Nov 2023 00:37:00 +0000 (03:37 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 6 Nov 2023 00:37:00 +0000 (03:37 +0300)
bin/s

diff --git a/bin/s b/bin/s
index 29104693c796af3a10455189e246178c928ff651..09649ca0befe4620ff0960648ad285f70025e5bc 100755 (executable)
--- a/bin/s
+++ b/bin/s
@@ -1,2 +1,4 @@
 #! /bin/sh
-exec ssh "$@"
+
+ssh "$@"; rc=$?
+xtitle && exit $rc