zsh: set nicer terminal titles on darwin for SSH
Alan Pearce alan@alanpearce.eu
Sat, 08 Apr 2023 21:48:20 +0200
1 files changed, 2 insertions(+), 1 deletions(-)
jump to
M user/zsh/zshrc.darwin → user/zsh/zshrc.darwin
@@ -11,7 +11,7 @@ break fi done if [[ ! -p /dev/fd/1 ]]; then - set_title "file://${server}/" + set_title "ssh $server" command ssh "$@" retval=$? set_title @@ -22,6 +22,7 @@ return $retval fi } mosh() { + set_title "mosh $@" command mosh "$@" retval=$? set_title