diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-10-02 16:51:36 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-10-03 18:35:01 +0200 |
commit | d0762e3fa173c28cf5b4469c2ddc25edaee28866 (patch) | |
tree | 78aa3584b57fd2a87df2cba0fb073fdab059e92a | |
parent | 56a2f05f5bad043925d7c691597abcb77a21e147 (diff) |
[Env] Don’t display error when no tmux server running
-rw-r--r-- | net:foret/Environment.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |