From dd68dbf20956a7005a47682b3992450004298e71 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 26 Feb 2009 21:33:53 +0100 Subject: zprofile: Use zlogin... --- etc/prompt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'etc/prompt') diff --git a/etc/prompt b/etc/prompt index c16dbaf..2cdfc8b 100644 --- a/etc/prompt +++ b/etc/prompt @@ -14,7 +14,11 @@ sign="${ps_sign}%(?.${sign}.%?)${ps_reset}" screen=$'%{\ek\e\\%}' PS1="${host} ${dir} ${sign} ${screen}" -RPS1="${ps_yellow}[${ps_info}%1v${ps_yellow}%T]${ps_reset}" +RPS1="${ps_yellow}[${ps_info}%1v${ps_yellow}" +if [[ $TERM != screen ]] { + RPS1+='%T' +} +RPS1+="]${ps_reset}" unset user at host unset dir ps_sign sign screen -- cgit v1.2.3