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 --- 10_Environment.zsh | 5 ----- net:foret/Environment.zsh | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/10_Environment.zsh b/10_Environment.zsh index 7f149c6..f9389fe 100644 --- a/10_Environment.zsh +++ b/10_Environment.zsh @@ -65,11 +65,6 @@ PS1_ROOT=${PS1_ROOT:-$color[red]} PS1_USER=${PS1_USER:-$color[blue]} # Specific color for YeahConsole PS1_YEAH="38;5;82" -# 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=$color[red] -fi ## Variables d'environnement ``classiques'' # 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