From: Florian Boor Date: Mon, 13 Aug 2018 19:13:43 +0000 (+0200) Subject: setup-environment: Indicate Yocto environment in shell prompt. X-Git-Url: https://git.kernelconcepts.de/?p=meta-tx09.git;a=commitdiff_plain;h=d46ef1cc1f576d696fc84b092121d8f5c8fa733e setup-environment: Indicate Yocto environment in shell prompt. --- diff --git a/setup-environment b/setup-environment index 4efec1c..8ad586c 100755 --- a/setup-environment +++ b/setup-environment @@ -46,7 +46,6 @@ directory . The build directory configuration is unchanged. " ls yocto/*/conf/machine/*.conf > /dev/null 2>&1 -# ls sources/meta-freescale-distro/conf/distro/fslc-*.conf > /dev/null 2>&1 if [ $? -eq 0 ]; then echo -e " Supported machines: `echo; ls conf/*/conf/machine/*.conf \ @@ -225,4 +224,7 @@ else echo fi +# indicate Yocto environment on shell prompt +export PS1="[yocto] $PS1" + clean_up