Subject: Re: ksh: PS1 newline
To: None <netbsd-users@netbsd.org>
From: Claudio M. <claudio@netcat.it>
List: netbsd-users
Date: 01/27/2006 18:52:28
Reply to myself:
> export PS1="$(whoami)@$(hostname -s) $(echo \"\\n\")$ "
No, there is a better way:
P1="$(whoami)@$(hostname -s)$(echo \\n' ')$(echo \\b)$ "
Claudio M.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/MU d-@ s: a--> C++(+++) UB++>$ P+> !L E--- W++(+++)
N+@ o--> K? w+@> O-@> M- V? PS+@ PE+@ Y+ PGP> t(-)@ 5?
X+ R? tv-- b+> DI-- D? G e+@> h--@> r y*
------END GEEK CODE BLOCK------