diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-09-20 11:17:13 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-09-20 11:17:13 +0200 |
commit | 164f2ec6468155f4da66a1c127c2eb382bb61a78 (patch) | |
tree | c3361af8d75fcbc7be0060ca086ce324e801a270 | |
parent | 7cb8313b41045c77a796f53c95158d82e335b593 (diff) |
[Env] Tmux’s specific color only on specific network.
-rw-r--r-- | 10_Environment.zsh | 5 | ||||
-rw-r--r-- | 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 |