diff options
author | Alan Pearce | 2023-04-08 21:48:20 +0200 |
---|---|---|
committer | Alan Pearce | 2023-04-08 21:48:20 +0200 |
commit | 617a1079107ab599c28a3cbbde69b1e9a1acc981 (patch) | |
tree | 5d1f2ab06ea5d0028f1dcf8bf3ab61af87795864 /user | |
parent | 7f7c35e137a58646db51b7f3005eaca289f21f36 (diff) | |
download | nixfiles-617a1079107ab599c28a3cbbde69b1e9a1acc981.tar.lz nixfiles-617a1079107ab599c28a3cbbde69b1e9a1acc981.tar.zst nixfiles-617a1079107ab599c28a3cbbde69b1e9a1acc981.zip |
zsh: set nicer terminal titles on darwin for SSH
Diffstat (limited to 'user')
-rw-r--r-- | user/zsh/zshrc.darwin | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/user/zsh/zshrc.darwin b/user/zsh/zshrc.darwin index 320b8267..58093e09 100644 --- a/user/zsh/zshrc.darwin +++ b/user/zsh/zshrc.darwin @@ -11,7 +11,7 @@ ssh() { 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 @@ ssh() { fi } mosh() { + set_title "mosh $@" command mosh "$@" retval=$? set_title |