Subject: Re: ksh: PS1 newline
To: None <netbsd-users@netbsd.org>
From: Alexander Mayer <mayerale@weihenstephan.org>
List: netbsd-users
Date: 01/27/2006 22:28:18
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On 27.01.2006, at 18:52, Claudio M. wrote:

> P1="$(whoami)@$(hostname -s)$(echo \\n' ')$(echo \\b)$ "

A solution without $(echo ...) but with two lines ;-) :

export PS1="$(whoami)@$(hostname -s)
\$ "

Alex

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFD2pCDBF+abY4YMw8RAptMAJ9qNzqPIA+OPAEbzsbcwhV/ht+QQwCeI/32
xh/SOZi2TEVgzIswyINIl0g=
=mxMD
-----END PGP SIGNATURE-----