[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Customize the PS1 prompt



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





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]