mirror of https://github.com/bjeanes/dotfiles.git
Experiment with 2-line ZSH prompt
parent
3eb8b8be6a
commit
5f99942c10
|
@ -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=""
|
||||
|
|
Loading…
Reference in New Issue