[LUNI] Customize the PS1 promptMartin Maney maney at pobox.comFri Jun 6 12:00:32 CDT 2003
On Thu, Jun 05, 2003 at 06:29:45PM -0500, Martin Maney wrote: > On Thu, Jun 05, 2003 at 05:29:52PM -0500, doug_dallmer wrote: > > I am trying to customize the PS1 prompt to include the full path that it is > > currently in (ie: a "pwd" command) & ( including `pwd` doesn't work). > > $ PS1="\u@\h (`pwd`) \$ " > maney at furrr (/home/maney) $ Which was the wrong form for this use. Should have been: $ PS1="\u@\h \`pwd\` \$ " maney at windhover / $ cd maney at windhover /home/maney $ Personally, I find \w more comfortable, but de gustibus non est disputandum, as they say. -- Self-pity can make one weep, as can onions. -- Fodor
More information about the luni mailing list |