From owner-freebsd-questions Mon Nov 8 9:28:18 1999 Delivered-To: freebsd-questions@freebsd.org Received: from maild.telia.com (maild.telia.com [194.22.190.3]) by hub.freebsd.org (Postfix) with ESMTP id C9F6314C17 for ; Mon, 8 Nov 1999 09:28:10 -0800 (PST) (envelope-from fredrik.carlen@telia.com) Received: from d1o29.telia.com (d1o29.telia.com [194.236.214.241]) by maild.telia.com (8.9.3/8.9.3) with ESMTP id SAA05557 for ; Mon, 8 Nov 1999 18:28:09 +0100 (CET) Received: from machine.beastie.org (t4o29p78.telia.com [194.236.215.198]) by d1o29.telia.com (8.8.8/8.8.8) with SMTP id SAA28841 for ; Mon, 8 Nov 1999 18:28:07 +0100 (CET) From: Fredrik Carlen Reply-To: fredrik.carlen@telia.com To: freebsd-questions@freebsd.org Subject: Just minor Bash-prompt problems, but still... Date: Mon, 8 Nov 1999 18:22:45 +0100 X-Mailer: KMail [version 1.0.21] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <99110818305400.00416@machine.beastie.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi there! My /etc/profile contains the following line that applies to the Bash-prompt (with out the quotes, of course...): "PS1=">>>\u@\h [\W]\$"' According to the manpage for Bash, the escape sequence ' \$ ' should make my prompt ' # ' if effective UID is 0 (zero)...well, it is as root, but what _I_ get as a prompt when being root, is the " $ " as is common for the other users. My /etc/profile is _not_ overridden in any ~/.bashrc or ~/.profile, or any of the other possible variations on this theme...I use /etc/profile, plain and simple. You scratch my back, 'n' I'll scratch yours! /Fredrik, Stockholm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message