From owner-freebsd-questions Wed Jan 2 7:29:39 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by hub.freebsd.org (Postfix) with ESMTP id 3CEE137B41F for ; Wed, 2 Jan 2002 07:29:37 -0800 (PST) Received: (from olli@localhost) by lurza.secnetix.de (8.11.6/8.11.6) id g02FTga58389; Wed, 2 Jan 2002 16:29:42 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Date: Wed, 2 Jan 2002 16:29:42 +0100 (CET) Message-Id: <200201021529.g02FTga58389@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG Reply-To: freebsd-questions@FreeBSD.ORG Subject: Re: Shell prompt contest In-Reply-To: <20020102150618.04ae22ff.johann@broadpark.no> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.4-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG J.S. 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