JHBuild Tip

I use “jhbuild shell” quite a lot to allow me to have separate build and testing environments when developing software. I also have multiple JHBuild environments and it can sometimes be hard to know which environment I am working in. Thankfully, it’s fairly easy to modify the command prompt to let you know that you’re in a jhbuild shell. I have something similar to this in my ~/.bashrc :

if [ “x$CERTIFIED_GNOMIE” = “xyes” ];
then
PS1=”[\u@\h \W (jhbuild)]\\$ ”
fi