From owner-freebsd-questions Wed Feb 12 15:32:20 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2628E37B401 for ; Wed, 12 Feb 2003 15:32:19 -0800 (PST) Received: from lightning.adam.com.au (lightning.adam.com.au [203.2.124.20]) by mx1.FreeBSD.org (Postfix) with SMTP id A823C43F3F for ; Wed, 12 Feb 2003 15:32:17 -0800 (PST) (envelope-from bastill@adam.com.au) Received: (qmail 34528 invoked by uid 65534); 12 Feb 2003 23:31:58 -0000 Received: from 202.6.151.68 ( [202.6.151.68]) as user bastill@mail.adam.com.au by webmail.adam.com.au with HTTP; Thu, 13 Feb 2003 10:01:58 +1030 Message-ID: <1045092718.3e4ad96e29fcd@webmail.adam.com.au> Date: Thu, 13 Feb 2003 10:01:58 +1030 From: bastill@adam.com.au To: freebsd-questions@freebsd.org Subject: PS1 command! ? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Originating-IP: 202.6.151.68 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 My .bash_profile contains # First prompt is definitely PS1 (PSnumeral-one) PS1="\u@\h \w " case 'id -u' in 0) PS1="$(PS1)# ";; *) PS1="$(PS1)S ";; esac My .bashrc contains: # same prompt lines from .bash_profile # note that it is PSnumeral-one not PSlowercaseL PS1="\u@\h \w " case 'id -u' in 0) PS1="$(PS1)# ";; *) PS1="$(PS1)S ";; esac Yet on login I get this error message: bash: PS1: command not found and the prompt is S Why? and how can I fix this? -- Brian ----------------------------------------------- This message sent through Adam Internet Webmail http://www.adam.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message