+# GST_ENV is set before the gst-build subshell starts and is valid until the
+# subshell exits, so it's OK to only check it once and for all when the prompt
+# is defined.
+if [[ -n "${GST_ENV-}" ]];
+then
+ PS1+="${MODE_GRAPHIC}${HORIZ_LINE}${MODE_DEFAULT}[ ${BOLD_MAGENTA}${GST_ENV}${BOLD_CYAN} ]"
+fi
+