From 470a84de742d5b803ae217ad4b282bfbce1c1e6a Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 7 May 2008 20:01:43 +0100 Subject: [PATCH] prefix prompt with + for subshells --- .zsh/zshrc/80_prompt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2