summaryrefslogtreecommitdiff
path: root/etc/prompt
diff options
context:
space:
mode:
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