[Peeweelinux] Can i configure the bash prompt like in the MANDRAKE 8.1 distribution and with the history file too ?

jim barchuk [email protected]
Thu, 28 Mar 2002 14:00:41 -0500 (EST)


Hi David!

> Just an other question:
> Can i configure the bash prompt like the MANDRAKE 8.1 distribution and
> activate the history file ?
> If yes, witch file i have to modify ? (.profile ?)
> And what i have to add for having the bash like this : [user@domain]$
> (and the history file activated)

I'm surprised no one answered this. I'm replying FTR as it's a good FAQ
item. And I had lots of fun looking into ash. :)

pwl doesn't have bash, 512540 under rh7.0, it has ash, 64924 under 6.2.

Ash doesn't support history. I *think* it doesn't support prompt
variables. Hard to find docs for it but that's the impression I get from
var.c. (I am not a c-geek but all it seems to do is set it to either $ or
#.)

Have a :) day!

jb

-- 
jim barchuk
[email protected]