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

Re: Getting custom prompts to work under v1.3.1



-----BEGIN PGP SIGNED MESSAGE-----

On Mon, 30 Aug 1999, David Blackman wrote:

> so your basic prompt (from dos) is:
> export ps1"\w$"

i'd recommend the following instead:
  export PS1='\w\$ '

This will give the current working directory, followed by a $ if non-root
or a # if root. In either case, a space will separate the prompt from your
command.

You may want to read the Bash Prompt HOWTO, which should be located in the
/usr/share/doc/HOWTO/ directory if you have one of the doc-linux packages
installed.


- -- 
  finger for PGP public key.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBN8trOr7M/9WKZLW5AQECnQP9FBMB7LGnVm5uSR7XlbbVKKa9/9zc0WYk
m0wzGZSP5/InJ9/ReqH48nvJ/dILYA5SHtDABwa32oFEDOf3a+f900boaKaYAlKi
IeCJXoxJiwZp3LgceThnihH5bFyVJpFHS564YoTiGeLZv+QeoBJpmg4qqxaoNYRz
QoQD7cy/iNU=
=RJ2t
-----END PGP SIGNATURE-----


Reply to: