summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-03-05 19:34:36 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2010-03-05 19:34:36 +0100
commitfa76dcb81282ff961bb398aef36a959f0a7c6a5f (patch)
tree7a1cb5446031f42cf60bb942f4fa36b9f4deecf5
parentea995f5256711715b9b61eaf4e5482dbf35647c2 (diff)
zshrc: Never show time in RPS1
-rw-r--r--etc/rc7
1 files changed, 1 insertions, 6 deletions
diff --git a/etc/rc b/etc/rc
index f52f4cb..db2083b 100644
--- a/etc/rc
+++ b/etc/rc
@@ -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