Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jan 2002 18:53:20 -0500
From:      "Andre` Niel Cameron" <AndreC@Axxs.net>
To:        "J.S." <johann@broadpark.no>, "Gary W. Swearingen" <swear@blarg.net>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Shell prompt contest
Message-ID:  <05ad01c193e8$a8671c30$a50410ac@olmct.net>
References:  <20020102150618.04ae22ff.johann@broadpark.no> <l8ell8ba0f.ll8@localhost.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help

> $ cd /root/bin
> ## 15:25:25 ## username @ /root/bin ## Wed 2 Jan 2002 PST
> $ next-command....
>
> In pdksh (two lines):
>
> PS1='$(set -A PS1 $(date); echo "## ${PS1[3]} ## $(id -un) @ $PWD ##
${PS1[0]} ${PS1[2]} ${PS1[1]} ${PS1[5]} ${PS1[4]}
> $ ")'
>

I like this, could anyone convert it to bash with color?  I have no clue how
to do it:)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?05ad01c193e8$a8671c30$a50410ac>