From d0762e3fa173c28cf5b4469c2ddc25edaee28866 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Wed, 2 Oct 2013 16:51:36 +0200 Subject: [Env] Don’t display error when no tmux server running MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- net:foret/Environment.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net:foret/Environment.zsh b/net:foret/Environment.zsh index a433ff3..511e4e4 100644 --- a/net:foret/Environment.zsh +++ b/net:foret/Environment.zsh @@ -13,7 +13,7 @@ export no_proxy="127.0.0.1,10.,.foret,.qosmos.com" export GET_IXM_BRANCHES="~/sbin/git_get.sh %p/%f %r %b" # The following sets another std-user color for a specific tmux session -if ( __cmd_exists tmux && tmux list-panes -F '#S #{pane_tty}' | grep -q "^pause $(tty)" ) +if ( __cmd_exists tmux && tmux list-panes -F '#S #{pane_tty}' 2>&- | grep -q "^pause $(tty)" ) then PS1_USER="31" fi -- cgit v1.2.3