From 7876c313e17d3699b13c93a77c19e1e136999e9f Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Thu, 7 Jun 2012 15:53:23 +0200 Subject: [Prompts] Q : MAKEFLAGS in standout mode (+ bold when exported...) --- net:foret/Prompts.zsh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'net:foret') 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) -- cgit v1.2.3