commit 5b7c963389aaa5d6519a5db5ef77051d5cc34044 parent bf54986feaf57e65f824b8e4dc5f530cf73a9701 Author: Daniel Moch <daniel@danielmoch.com> Date: Thu, 19 Dec 2019 06:01:24 -0500 shrc: Don't print window title for dumb terminals Diffstat:
M | .shrc | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.shrc b/.shrc @@ -1,7 +1,9 @@ # # ~/.shrc # -printf "\033]0;$LOGNAME@$HOSTNAME\007" +case $TERM in +st*|rxvt*|xterm*) printf "\033]0;$LOGNAME@$HOSTNAME\007" ;; +esac for file in "$HOME"/.shrc.d/*.sh do