diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-03-05 19:34:36 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-03-05 19:34:36 +0100 |
commit | fa76dcb81282ff961bb398aef36a959f0a7c6a5f (patch) | |
tree | 7a1cb5446031f42cf60bb942f4fa36b9f4deecf5 | |
parent | ea995f5256711715b9b61eaf4e5482dbf35647c2 (diff) |
zshrc: Never show time in RPS1
-rw-r--r-- | etc/rc | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -232,18 +232,13 @@ rps=( start_always "%F{yellow}[" start_screen "%(1V.%F{yellow}[" dirinfo "%F{default}%1v" - time '%T' end_always "%F{yellow}]%F{default}" end_screen "%(1V.%F{yellow}]%F{default}.)" ) PS1="${ps[host]} ${ps[dir]} ${ps[sign]} ${ps[screen]}" -if [[ $TERM == screen* ]] { - RPS1="${rps[start_screen]}${rps[dirinfo]}${rps[end_screen]}" -} else { - RPS1="${rps[start_always]}${rps[dirinfo]}${rps[time]}${rps[end_always]}" -} +RPS1="${rps[start_screen]}${rps[dirinfo]}${rps[end_screen]}" unset ps rps |