From 01796946d091b25f5782064f5fa9d28a1a23af9f Mon Sep 17 00:00:00 2001 From: phux Date: Wed, 20 Feb 2019 19:22:50 +0100 Subject: [PATCH] Show the number of background jobs --- pure.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pure.zsh b/pure.zsh index f8001768..6ebb2ebc 100644 --- a/pure.zsh +++ b/pure.zsh @@ -140,6 +140,8 @@ prompt_pure_preprompt_render() { local symbol_color="%(?.${PURE_PROMPT_SYMBOL_COLOR:-magenta}.red)" + # show background jobs + preprompt+="%(1j.%j.) " # show virtual env preprompt+="%(12V.%F{242}%12v%f .)" # begin with symbol, colored by previous command exit code