From owner-freebsd-questions Wed Jan 2 21: 4:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtpgw01.gargantuan.com (145bus8.tampabay.rr.com [24.94.145.8]) by hub.freebsd.org (Postfix) with ESMTP id 963CD37B41A for ; Wed, 2 Jan 2002 21:04:42 -0800 (PST) Received: from LKLDDC01.GARGANTUAN.COM (exchange.gargantuan.com [10.0.0.9]) by smtpgw01.gargantuan.com (Postfix) with ESMTP id 6F2C014CB7 for ; Wed, 2 Jan 2002 23:36:16 -0500 (EST) Received: by LKLDDC01.GARGANTUAN.COM with Internet Mail Service (5.5.2653.19) id ; Wed, 2 Jan 2002 23:35:20 -0500 Message-ID: <1DA741CA6767A144BAA4F10012536C27A984@LKLDDC01.GARGANTUAN.COM> From: "Oliver, Michael W." To: freebsd-questions@freebsd.org Subject: RE: Shell prompt contest Date: Wed, 2 Jan 2002 23:35:17 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain 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 I am not at the console much, so colors don't work for me too well. However, a LF does make things nice a neat. Here is what I use in BASH: PS1=" \u @ \h | \w # " PS2=" \u @ \h | \w PS2> " Example: root @ wolverine | /usr/local/etc/apache # This gives me a nice LF after any previous output, plenty of space on the line to PWD, and another LF for the next command. Not fancy, but gets the job done.... =========== Michael Oliver To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message