From 4be360830e46973b28fd22400dbcd28ec0090f66 Mon Sep 17 00:00:00 2001 From: LAN-TW Date: Thu, 1 Aug 2013 09:52:17 +0800 Subject: =?UTF-8?q?bash=5Finclude:=20JHBuild=20=E7=92=B0=E5=A2=83=E6=A8=99?= =?UTF-8?q?=E8=A8=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bash_include | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bash_include b/bash_include index 1fc6a6f..e503664 100644 --- a/bash_include +++ b/bash_include @@ -26,6 +26,12 @@ then nocolorprompting="*$nocolorprompting" fi +if [ "$UNDER_JHBUILD" = "true" ] +then + colorprompting="$colorprompting[\[\e[1;35m\]JHBuild\[\e[m\]]" + nocolorprompting="$nocolorprompting[JHBuild]" +fi + if [ -f "$HOME/.bash_addps" ] then exec 3< "$HOME/.bash_addps" -- cgit v1.2.3