diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2012-06-07 15:53:23 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2012-06-07 15:53:23 +0200 |
commit | 7876c313e17d3699b13c93a77c19e1e136999e9f (patch) | |
tree | 7ea525286140271a5aea78c2ffe1739d883e2239 /net:foret | |
parent | 386a54753601871d04a1934cf1379bdb9a60e55d (diff) |
[Prompts] Q : MAKEFLAGS in standout mode (+ bold when exported...)
Diffstat (limited to 'net:foret')
-rw-r--r-- | net:foret/Prompts.zsh | 4 |
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) |