summaryrefslogtreecommitdiff
path: root/etc/prompt
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-02-26 21:33:53 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-02-26 21:33:53 +0100
commitdd68dbf20956a7005a47682b3992450004298e71 (patch)
tree47b491b1135eda4ab7f0ed036c2b5cc480ab84e5 /etc/prompt
parentbd39006f6eb8b3ac45f77d27d631a7ed17b8f2d6 (diff)
zprofile: Use zlogin...
Diffstat (limited to 'etc/prompt')
-rw-r--r--etc/prompt6
1 files changed, 5 insertions, 1 deletions
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