aboutsummaryrefslogtreecommitdiffstats
path: root/bash_include
diff options
context:
space:
mode:
Diffstat (limited to 'bash_include')
-rw-r--r--bash_include16
1 files changed, 11 insertions, 5 deletions
diff --git a/bash_include b/bash_include
index 67cea7e..261bb53 100644
--- a/bash_include
+++ b/bash_include
@@ -35,8 +35,8 @@ if [[ "$-" == *i* ]] ; then interactive_shell=1; fi
# Internal Variables
-colorprompting='\[\e[1;31m\]\!\[\e[m\] \[\e[35m\]$tty_short\[\e[m\][\[\e[1;33m\]\u\[\e[m\]@\[\e[1;32m\]\h\[\e[m\] \[\e[1;36m\]\w\[\e[m\]]'
-nocolorprompting='\! $tty_short[\u@\h \w]'
+colorprompting='\[\e[1;31m\]\!\[\e[m\] \[\e[35m\]$tty_short\[\e[m\][\[\e[1;33m\]\u\[\e[m\]@\[\e[1;32m\]\h\[\e[m\] \[\e[1;36m\]\w\[\e[m\]]\[\e[44;37m\] \j \[\e[m\]'
+nocolorprompting='\! $tty_short[\u@\h \w] \j '
if [ "$SSH_CONNECTION" ]
then
@@ -44,16 +44,22 @@ then
nocolorprompting="*$nocolorprompting"
fi
+if [ "$EPREFIX" ]
+then
+ colorprompting="$colorprompting[\[\e[1;35m\]Prefix\[\e[m\]]"
+ nocolorprompting="$nocolorprompting[Prefix]"
+fi
+
if [ "$UNDER_JHBUILD" = "true" ] || [ "$CERTIFIED_GNOMIE" = "yes" ]
then
colorprompting="$colorprompting[\[\e[1;35m\]JHBuild\[\e[m\]]"
nocolorprompting="$nocolorprompting[JHBuild]"
fi
-if [ "$EPREFIX" ]
+if [ "$ANDROID_BUILD_TOP" ]
then
- colorprompting="$colorprompting[\[\e[1;35m\]Prefix\[\e[m\]]"
- nocolorprompting="$nocolorprompting[Prefix]"
+ colorprompting="$colorprompting[\[\e[1;35m\]Android\[\e[m\]]"
+ nocolorprompting="$nocolorprompting[Android]"
fi
if [ -f "$HOME/.bash_addps" ]