From bba57cf2b29e813e061cefd755abbe2021bb7c07 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 11 Mar 2010 00:15:08 +0100 Subject: [PATCH 1/1] zsh/rc: Don't display + in prompt when running as subshell. This is almost useless when using a terminal emulator and I seldom create new subshells on my own. --- zsh/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/rc b/zsh/rc index 3db8353..5276361 100644 --- a/zsh/rc +++ b/zsh/rc @@ -138,7 +138,7 @@ local default="%{${fg[default]}%}" # The prompt is in green and blue to make easily detectable, the error exit # code in red and bold and the job count in yellow. PROMPT="$green%B%m%b$default:$blue%B%~%b$default \ -%(1j.$yellow%j$default.)%(2L.+.)%# \ +%(1j.$yellow%j$default.)%# \ %(?..($red%B%?%b$default%) )" # VCS_Info was added in 4.3.9 but it works in earlier versions too. So load it -- 2.44.2