aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLAN-TW <lantw44@gmail.com>2013-08-01 09:52:17 +0800
committerLAN-TW <lantw44@gmail.com>2013-08-01 09:52:17 +0800
commit4be360830e46973b28fd22400dbcd28ec0090f66 (patch)
tree8b73ea502498ee027b893aa378a05f806de3650f
parentc2f14734f7a0696e6db908e877d16458b6bed128 (diff)
downloadconfigfile-4be360830e46973b28fd22400dbcd28ec0090f66.tar
configfile-4be360830e46973b28fd22400dbcd28ec0090f66.tar.gz
configfile-4be360830e46973b28fd22400dbcd28ec0090f66.tar.bz2
configfile-4be360830e46973b28fd22400dbcd28ec0090f66.tar.lz
configfile-4be360830e46973b28fd22400dbcd28ec0090f66.tar.xz
configfile-4be360830e46973b28fd22400dbcd28ec0090f66.tar.zst
configfile-4be360830e46973b28fd22400dbcd28ec0090f66.zip
bash_include: JHBuild 環境標記bash_include-20130801
-rw-r--r--bash_include6
1 files changed, 6 insertions, 0 deletions
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"