Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jan 2002 16:29:42 +0100 (CET)
From:      Oliver Fromme <olli@secnetix.de>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Shell prompt contest
Message-ID:  <200201021529.g02FTga58389@lurza.secnetix.de>
In-Reply-To: <20020102150618.04ae22ff.johann@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
J.S. <johann@broadpark.no> wrote:
 > Let's see who has the prettiest one :-)

This might not be the prettiest one, but I find it very
useful and informative.  I use zsh and have the following
in my ~/.zshrc (among other things):

   RPROMPT="%T"
   if [[ $EUID -eq 0 ]]; then
           PROMPT="%Broot%b@%m:%4(~:...:)%3c%B#%b "
   else
           PROMPT="%n@%m:%4(~:...:)%3c> "
   fi

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"All that we see or seem is just a dream within a dream" (E. A. Poe)

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?200201021529.g02FTga58389>