From owner-freebsd-questions Wed Jan 2 15:55:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from gaia.host4u.net (gaia.host4u.net [209.150.128.48]) by hub.freebsd.org (Postfix) with ESMTP id 8B75A37B405 for ; Wed, 2 Jan 2002 15:55:42 -0800 (PST) Received: from andre (bricks.fastdns.net [216.71.43.117]) by gaia.host4u.net (8.8.5/8.8.5) with SMTP id RAA18091; Wed, 2 Jan 2002 17:27:49 -0600 Message-ID: <05ad01c193e8$a8671c30$a50410ac@olmct.net> Reply-To: "Andre` Niel Cameron" From: "Andre` Niel Cameron" To: "J.S." , "Gary W. Swearingen" Cc: References: <20020102150618.04ae22ff.johann@broadpark.no> Subject: Re: Shell prompt contest Date: Wed, 2 Jan 2002 18:53:20 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 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 > $ 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