summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net:foret/Prompts.zsh4
1 files changed, 3 insertions, 1 deletions
diff --git a/net:foret/Prompts.zsh b/net:foret/Prompts.zsh
index ea197f9..f9558af 100644
--- a/net:foret/Prompts.zsh
+++ b/net:foret/Prompts.zsh
@@ -50,7 +50,9 @@ __nproc_compilation ()
}
__makeflags ()
{
- echo -n $MAKEFLAGS
+ echo -n $C_
+ export | grep -q '^MAKEFLAGS=' && echo -n "1;"
+ echo -n $_prompt_colors[soft_generic]";3"$_C${MAKEFLAGS// -/}
}
PS1_TASKBAR+=(__makeflags __verbose_compilation __nproc_compilation)