From 2cdf1d9cc7634c20bbe09870e2c599a608291595 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 24 Jan 2014 23:19:22 +0900 Subject: [PATCH] supress unneeded output --- shrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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