summaryrefslogtreecommitdiff
path: root/net:foret
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2012-06-07 15:53:23 +0200
committerHugues Hiegel <hugues.hiegel@qosmos.com>2012-06-07 15:53:23 +0200
commit7876c313e17d3699b13c93a77c19e1e136999e9f (patch)
tree7ea525286140271a5aea78c2ffe1739d883e2239 /net:foret
parent386a54753601871d04a1934cf1379bdb9a60e55d (diff)
[Prompts] Q : MAKEFLAGS in standout mode (+ bold when exported...)
Diffstat (limited to 'net:foret')
-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)