summaryrefslogtreecommitdiff
path: root/10_Environment.zsh
diff options
context:
space:
mode:
Diffstat (limited to '10_Environment.zsh')
-rw-r--r--10_Environment.zsh4
1 files changed, 4 insertions, 0 deletions
diff --git a/10_Environment.zsh b/10_Environment.zsh
index 6dfbe78..a4c9c58 100644
--- a/10_Environment.zsh
+++ b/10_Environment.zsh
@@ -64,6 +64,10 @@ _tx_=${${has_termcaps:+"x"}:-"|"}
PS1_ROOT=${PS1_ROOT:-$color[red]}
PS1_USER=${PS1_USER:-$color[blue]}
PS1_YEAH="38;5;82"
+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''
#