Bash prompt change
Mike Klinke
lsomike at futzin.com
Tue Aug 3 17:44:38 UTC 2004
On Tuesday 03 August 2004 03:55, Mike Chambers wrote:
>
> Is that the correct file and if so, what needs changing? Or can I
> just add a simple PS1 line to my own bash_profile or bashrc file
> and just do it for myself (only one on machine anyway)?
I just added:
PS1='$PWD$ '
export PS1
to .bashrc, logged out and logged back in and the prompt changed. The
FAQ above can be easily misread to mean that the \W will not show a ~
but "man bash" shows the complete description including "with tilde"
Regards, Mike Klinke
More information about the test
mailing list