17 Jun 2010 federico   » (Master)

Thu 2010/Jun/17

  • Custom prompt for jhbuild

    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"

    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

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!