Experiment with 2-line ZSH prompt

Bo Jeanes 2017-04-02 10:18:39 +10:00
parent 3eb8b8be6a
commit 5f99942c10
1 changed files with 3 additions and 3 deletions

View File

@ -109,11 +109,11 @@ function default_precmd {
rev="${rev/\(svn\)/↯}"
local left right
left=($(user_at_host) $cwd $char)
left=($(user_at_host) $cwd)
right=($rev $ruby $time)
PS1="$left "
RPS1=" $right"
PS1=$left$'\n'$char' '
RPS1="%{$(echotc UP 1)%}$right%{$(echotc DO 1)%}"
else
PS1="$ "
RPS1=""