summaryrefslogtreecommitdiff
path: root/net:foret
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2013-09-20 11:17:13 +0200
committerHugues Hiegel <hugues.hiegel@qosmos.com>2013-09-20 11:17:13 +0200
commit164f2ec6468155f4da66a1c127c2eb382bb61a78 (patch)
treec3361af8d75fcbc7be0060ca086ce324e801a270 /net:foret
parent7cb8313b41045c77a796f53c95158d82e335b593 (diff)
[Env] Tmux’s specific color only on specific network.
Diffstat (limited to 'net:foret')
-rw-r--r--net:foret/Environment.zsh5
1 files changed, 5 insertions, 0 deletions
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