summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zsh/zshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zsh/zshrc b/.zsh/zshrc
index 7855c24..9f7bf75 100644
--- a/.zsh/zshrc
+++ b/.zsh/zshrc
@@ -107,6 +107,9 @@ colors
# show smilies in prompt :)
RPROMPT="%(?.%S%{$fg[green]%}:).%S%{$fg[red]%}:()%{$reset_color%}%s"
+# Screen indication
+[[ $TERM == "screen" ]] && RPROMPT="${RPROMPT} %B%{$fg[cyan]%}(S)%{$reset_color%}%b"
+
# vcs stuff for prompt
setopt prompt_subst