dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit e27899b08ddfa47d42a2e9bc4a4bbc9fedcd5a20
parent 4e31248dab3ecea7c8a9279a751cea3cf23afe98
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sun,  5 Apr 2020 14:29:17 -0400

ssh.sh: Whitelist terminals that will print window title

Diffstat:
Metc/shrc.d/ssh.sh | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/etc/shrc.d/ssh.sh b/etc/shrc.d/ssh.sh @@ -1,4 +1,6 @@ ssh() { $(which ssh) "$@" - printf "\033]0;$LOGNAME@$HOSTNAME\007" + case $TERM in + xterm*|rxvt*|st*|tmux*) printf "\033]0;$LOGNAME@$HOSTNAME\007" ;; + esac }