aboutsummaryrefslogtreecommitdiff
path: root/config/zsh/theme.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'config/zsh/theme.zsh')
-rw-r--r--config/zsh/theme.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/zsh/theme.zsh b/config/zsh/theme.zsh
index e2f476b..2f591a3 100644
--- a/config/zsh/theme.zsh
+++ b/config/zsh/theme.zsh
@@ -25,6 +25,7 @@ p_dir() {
# Prompt terminal status
p_status() {
[[ ! -z "$WITH_NIX_PREFIX" ]] && echo -n "$(segment "[NIX:$WITH_NIX_PREFIX] " black $COL_ACCENT)";
+ [[ "$TERM" = "tmux-256color" ]] && echo -n "$(segment "[tmux]" black $COL_ACCENT)";
echo -n "%(?..$(segment 'x' black $COL_STATUS_ERROR))"
echo -n "%(1j.$(segment '(jobs: %j)' black $COL_STATUS_BG).)"
}