diff options
Diffstat (limited to 'bash_include')
-rw-r--r-- | bash_include | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bash_include b/bash_include index 261bb53..a662f7b 100644 --- a/bash_include +++ b/bash_include @@ -50,6 +50,14 @@ then nocolorprompting="$nocolorprompting[Prefix]" fi +if [ "$X_SCLS" ] +then + scl_enabled="`echo "$X_SCLS" | sed 's/ *$//' | tr ' ' ','`" + colorprompting="$colorprompting[\[\e[1;35m\]SCL:$scl_enabled\[\e[m\]]" + nocolorprompting="$nocolorprompting[SCL:$scl_enabled]" + unset scl_enabled +fi + if [ "$UNDER_JHBUILD" = "true" ] || [ "$CERTIFIED_GNOMIE" = "yes" ] then colorprompting="$colorprompting[\[\e[1;35m\]JHBuild\[\e[m\]]" |