[LUNI] Customize the PS1 prompt

Fred Yankowski fred at ontosys.com
Fri Jun 6 11:34:13 CDT 2003


On Fri, Jun 06, 2003 at 11:00:32AM -0500, Martin Maney wrote:
> $ PS1="\u@\h \`pwd\` \$ "

Or that could be:

	PS1='\u@\h $PWD \$ '

It sounds like the "command execution while calculating PS1 messes up
$?" problem might have been a red herring though.

-- 
Fred Yankowski      fred at ontosys.com           tel: +1.630.879.1312
OntoSys, Inc	    PGP keyID: 7B449345        fax: +1.630.879.1370
www.ontosys.com     38W242 Deerpath Rd, Batavia, IL 60510-9461, USA


More information about the luni mailing list