[LUNI] Customize the PS1 prompt

doug_dallmer doug_dallmer at netzero.net
Thu Jun 5 18:29:52 CDT 2003


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).

According to the RedHat Linux 8 Bible I have this should be the inclusion of
the "\w"; however it only returns a "~" in the prompt.   When I use a "\W" I
get the current workng directory as expected.   This happens in both the 2.2
and the 2.4 kernels.

Any ideas about fixing it?

Doug




More information about the luni mailing list