summaryrefslogtreecommitdiff
path: root/.zsh/zshrc
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-04-02 18:36:24 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-04-02 18:36:25 +0200
commit110e88589519f0183d35f8c67cee5b8fa9ec530e (patch)
tree7d23819e21f98d51ec6583bd21c3e1b6330aeacc /.zsh/zshrc
parentdd85adc81748260790d5be816c45979148bb1408 (diff)
downloaddotfiles-110e88589519f0183d35f8c67cee5b8fa9ec530e.tar.gz
dotfiles-110e88589519f0183d35f8c67cee5b8fa9ec530e.tar.bz2
dotfiles-110e88589519f0183d35f8c67cee5b8fa9ec530e.zip
Add 'screen' notification in the prompt
Diffstat (limited to '.zsh/zshrc')
-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