From owner-freebsd-questions Wed Aug 25 9:56: 6 1999 Delivered-To: freebsd-questions@freebsd.org Received: from horst.bfd.com (horst.bfd.com [12.9.219.10]) by hub.freebsd.org (Postfix) with ESMTP id 4E1E31504D for ; Wed, 25 Aug 1999 09:56:01 -0700 (PDT) (envelope-from ejs@bfd.com) Received: from HARLIE.bfd.com (bastion.bfd.com [12.9.219.14]) by horst.bfd.com (8.9.3/8.9.2) with ESMTP id JAA10012; Wed, 25 Aug 1999 09:53:01 -0700 (PDT) (envelope-from ejs@bfd.com) Date: Wed, 25 Aug 1999 09:53:01 -0700 (PDT) From: "Eric J. Schwertfeger" To: Patrick Seal Cc: Doug , freebsd-questions@FreeBSD.ORG Subject: Re: Bash: space in cd arg bug? In-Reply-To: <19990825122646.A72342@hyperhost.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 25 Aug 1999, Patrick Seal wrote: > On Wed, Aug 25, 1999 at 09:07:53AM -0700i, Doug wrote: > > Patrick Seal wrote: > > > > > Actually I just found the problem. I had been using my own version of cd to > > > change my rxvt title to the current directory: > > > > FYI, you don't really need to do that. Take a look at > > http://freebsd.simplenet.com/Bash-prompts.txt. > > I use a modified mandrake's purple prompt that gives me a lot of information. > When Blackbox (my WM) is iconifying windows, it only keeps a list of what is > iconified and puts it in a menu. It is much easier to distinguish: I think that was his point. You can do that by creative use of the PS1 environmental variable, without needing a function. Works for me doing exactly what you are describing. I can't remember the exact syntax, but it is something like PS1="\033]2;[\h:\u]\w> \007[\h:\u]\w> " which puts the login name, host, and pwd in the title bar and in the command prompt. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message