PS1 question

S. Anthony Sequeira tony at
Sun Sep 28 09:00:12 PDT 2003

On Sun, 2003-09-28 at 16:34, Gareth Westwood wrote:
> Dagmar d'Surreal wrote:
> > On Sun, 2003-09-28 at 02:23, Archaic wrote:
> > 
> >>On Sun, Sep 28, 2003 at 03:54:10AM +0000, Jeremy Utley wrote:
> >>
> >>>I guess I don't understand what the big deal is.  :)  You can still have the
> >>>time on your prompt, it's just that the AM/PM designator is in caps instead
> >>>of lower case, and there's one extra space in there :)
> >>
> >>Yeah. I figured as much. :) I don't see why people go nuts over window
> >>themes or wallpaper. But then again, I don't spend any real amount of
> >>time in gui. After a few years of it looking and behaving the same, you
> >>kinda don't want things to change. :)
> > 
> > 
> > Add a left-cursor control sequence in the PS1 string right before the
> > last character so it overwrites the spurious space then.
> > 
> > ;)
> or 3 lefts, then manualy add am or pm, or something....

AFAIK, you are able to run shell commands within prompt strings using
$().  Why not try a simple $( tr [:upper:] [:lower:] ) on your prompt? 
I'm too busy, otherwise I would have attempted one for you.  I'm sure a
google search will turn up examples that can be used.


More information about the blfs-support mailing list