From: martin f. krafft Date: Wed, 7 May 2008 19:01:43 +0000 (+0100) Subject: prefix prompt with + for subshells X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/470a84de742d5b803ae217ad4b282bfbce1c1e6a?hp=e4b0055e84227e2cc7a6572a609a15b5e98e0bf5 prefix prompt with + for subshells --- diff --git a/.zsh/zshrc/80_prompt b/.zsh/zshrc/80_prompt index dfedff9..41763ac 100644 --- a/.zsh/zshrc/80_prompt +++ b/.zsh/zshrc/80_prompt @@ -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