Thu 2010/Jun/17
-
I used to have a hard time distinguishing jhbuild-controlled shells from normal shells. To help with this, I just pushed a small change to jhbuild. Now it sets an UNDER_JHBUILD environment variable, so your "jhbuild shell" can customize its prompt. You can add this to your .bashrc:
if [ -n "$UNDER_JHBUILD" ]; then PS1="[jhbuild] $PS1" fi
With this, my prompt now looks like this when I'm inside a jhbuild shell:
[jhbuild] guanabana$
Syndicated 2010-06-17 12:15:00 from Federico Mena-Quintero - Activity Log