]> git.donarmstrong.com Git - zsh.git/commitdiff
prefix prompt with + for subshells
authormartin f. krafft <madduck@madduck.net>
Wed, 7 May 2008 19:01:43 +0000 (20:01 +0100)
committermartin f. krafft <madduck@madduck.net>
Wed, 7 May 2008 19:01:43 +0000 (20:01 +0100)
.zsh/zshrc/80_prompt

index dfedff944b7f523c1425dfa77ea593dffd265ed2..41763acd6ec180ffc8e86bf56b137861988cc207 100644 (file)
@@ -14,7 +14,7 @@ if is_root; then
   _MIDDLE="%25<..<%~%<<"
   _PS1_HL=U
 fi
-PS1="%${_PS1_HL:=B}%m%${(L)_PS1_HL}:${_MIDDLE}%# "
+PS1="%(2L.+.)%${_PS1_HL:=B}%m%${(L)_PS1_HL}:${_MIDDLE}%# "
 RPS1="#%(0?..%?,)%!"
 
 # vim:ft=zsh