# HG changeset patch
# User Dirk Olmes <dirk@xanthippe.ping.de>
# Date 1322559174 -3600
# Node ID 2cd74a85976ad99d3300eac709846a84c6144079
# Parent  cf017347e8bfdad3c5cc6ad259a60088daa2e6a5
change the prompt when running in a screen session

diff -r cf017347e8bf -r 2cd74a85976a zshrc-linux-gnu
--- a/zshrc-linux-gnu	Tue Nov 29 10:26:24 2011 +0100
+++ b/zshrc-linux-gnu	Tue Nov 29 10:32:54 2011 +0100
@@ -4,7 +4,11 @@
 
 # custom environment variables
 export LESS="-X"
+
 PROMPT="%m%# "
+if [[ "$TERM" =~ screen ]]; then
+    PROMPT="(s)%m%# "
+fi
 
 # try to guess the distribution and include a special script for that
 local linux_distro="unknown"