[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Edlug Archive Jan 2003 ]

Re: [edlug] setting your prompt



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

That is the best you can hope for; as you probably already know, /home/james 
is (un)expanded to ~, i'm not sure how (or if) you can disable it. I can't 
find anything about disabling it in bash(1).
\w is what I use.

neox

On Monday 30 December 2002 5:53 pm, james duncan wrote:
> Hi
>
> whats the switch you would use in a PS1 setting in your .bashrc file to
> have your command prompt give the full working directory? ie
> [/home/james]$
> redhat8 bible says \w but it just gives me a tilde
> \W gives me just the last directory in the list ie [james]$
>
> thanks very much
>
> james
>
>
>
> -----------------------------------------------------------------------
> You can find the EdLUG mailing list FAQ list at:
> http://www.edlug.org.uk/list_faq.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+EI0jx+6iGiMRc+kRAsWhAJ4+8031GuUO5qj/1mReEn9/oeqSwQCggj/t
vneLATQtVoeyIMw8IDiqrG4=
=arLe
-----END PGP SIGNATURE-----


-----------------------------------------------------------------------
You can find the EdLUG mailing list FAQ list at:
http://www.edlug.org.uk/list_faq.html



This archive is kept by wibble@morpheux.org.DONTSPAMME
homepage