diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-02-26 21:33:53 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-02-26 21:33:53 +0100 |
commit | dd68dbf20956a7005a47682b3992450004298e71 (patch) | |
tree | 47b491b1135eda4ab7f0ed036c2b5cc480ab84e5 /etc/prompt | |
parent | bd39006f6eb8b3ac45f77d27d631a7ed17b8f2d6 (diff) |
zprofile: Use zlogin...
Diffstat (limited to 'etc/prompt')
-rw-r--r-- | etc/prompt | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |