View previous topic :: View next topic |
Author |
Message |
pmj n00b
Joined: 06 Jun 2002 Posts: 27 Location: Newfoundland, Canada
|
Posted: Thu Jun 13, 2002 4:15 pm Post subject: $HOME not listed as ~ |
|
|
hello,
Strange thing here. My bash prompt displays the full path to my home directory, and not ~. My .bashrc contains the following:
PS1='[\u@\h - \w] '
so I would expect
[pmj@sarlacc - ~]
when in /home/pmj, but instead it reads
[pmj@sarlacc - /home/pmj].
Anyone with any insight? _________________ pmj / [a]orange |
|
Back to top |
|
|
lx Veteran
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Thu Jun 13, 2002 6:47 pm Post subject: |
|
|
Well this is not the answer, but well I just wanted to tell you:
Quote: | \w the current working directory
\W the basename of the current working direc
tory
|
Cya lX. _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
|
pmj n00b
Joined: 06 Jun 2002 Posts: 27 Location: Newfoundland, Canada
|
Posted: Sun Jun 16, 2002 8:41 pm Post subject: |
|
|
not to answer myself, but if anyone else ran into anything similar, I found out the answer:
my home directory in the passwd file was /home/pmj/ and not /home/pmj. The ending / made all the difference! _________________ pmj / [a]orange |
|
Back to top |
|
|
|