From 110e88589519f0183d35f8c67cee5b8fa9ec530e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Fri, 2 Apr 2010 18:36:24 +0200 Subject: Add 'screen' notification in the prompt --- .zsh/zshrc | 3 +++ 1 file changed, 3 insertions(+) (limited to '.zsh/zshrc') 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 -- cgit v1.2.3