From fa76dcb81282ff961bb398aef36a959f0a7c6a5f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 5 Mar 2010 19:34:36 +0100 Subject: zshrc: Never show time in RPS1 --- etc/rc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'etc/rc') 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 -- cgit v1.2.3