diff --git a/shrc b/shrc index 37829a5..6cfffff 100755 --- a/shrc +++ b/shrc @@ -1275,7 +1275,7 @@ if test -n "$TMUX" then __terminal_title="\$(basename \${PWD})" else - if test -n "$SSH_CONNECTION" && expr "$TERM" : '^screen' + if test -n "$SSH_CONNECTION" && expr "$TERM" : '^screen' >/dev/null then __terminal_title="`whoami`@`hostname`:\$(basename \${PWD})" else