From owner-freebsd-questions Thu Jan 6 10:19:53 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.nwlink.com (smtp.nwlink.com [209.20.130.57]) by hub.freebsd.org (Postfix) with ESMTP id 1EBC515798 for ; Thu, 6 Jan 2000 10:19:48 -0800 (PST) (envelope-from rjoseph@nwlink.com) Received: from nwlink.com (ip3.r16.d.bel.nwlink.com [207.202.176.3]) by smtp.nwlink.com (8.9.3/8.9.3) with ESMTP id KAA20217 for ; Thu, 6 Jan 2000 10:19:45 -0800 (PST) Message-ID: <3874DC03.70FBE64E@nwlink.com> Date: Thu, 06 Jan 2000 10:16:35 -0800 From: R Joseph Wright X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 Cc: freebsd-questions@FreeBSD.ORG Subject: Re: window manager question References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Cliff Rowley wrote: > > > No, because that has another meaning. It causes the prompt to show the > > history number of the command you've typed in. > > Not here it doesnt, it shows as # > > I am a boring sod and I have: PS1="[\u@\h]# " > > Prompt is [dozprompt@merlin]# I got it to work doing: PS1="\u@\h\w\]# " This gives me: root@mammalia~# which is exactly what I want. I did it using two brackets like you at first, but it gave me [root@mammalia~# . Is that strange? Without the bracket it gives the history number of the command, for example: root@mammalia~3 -- Best Regards, Joseph You will do foolish things, but do them with enthusiasm. Colette. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message