From 164f2ec6468155f4da66a1c127c2eb382bb61a78 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Fri, 20 Sep 2013 11:17:13 +0200 Subject: [Env] Tmux’s specific color only on specific network. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- net:foret/Environment.zsh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'net:foret') diff --git a/net:foret/Environment.zsh b/net:foret/Environment.zsh index 672952f..a433ff3 100644 --- a/net:foret/Environment.zsh +++ b/net:foret/Environment.zsh @@ -12,3 +12,8 @@ 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)" ) +then + PS1_USER="31" +fi -- cgit v1.2.3