From owner-freebsd-questions Fri Jun 2 13:28:36 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id F183E37B5D1 for ; Fri, 2 Jun 2000 13:28:33 -0700 (PDT) (envelope-from Doug@gorean.org) Received: from slave (doug@slave [10.0.0.1]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id NAA51461; Fri, 2 Jun 2000 13:28:31 -0700 (PDT) (envelope-from Doug@gorean.org) Date: Fri, 2 Jun 2000 13:28:31 -0700 (PDT) From: Doug Barton X-Sender: doug@dt051n0b.san.rr.com To: Joey Garcia Cc: questions@freebsd.org Subject: Re: Bash and $HOME env var quirks In-Reply-To: <20000601205839.15411.qmail@web214.mail.yahoo.com> 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 Thu, 1 Jun 2000, Joey Garcia wrote: > Hey all! > > Usually, I don't alter my working environment from > factory default just because it's usually fine the way > it is, but this time I thought I might tweak my bash > prompt a bit. And I had a couple of questions about > how the bash prompt '/w' option works and how it > applies to the $HOME enviroment variable. Take a look at http://freebsd.simplenet.com/Bash-prompts.txt, that should answer your question. The short version is that /w does use the tilde to represent your home directory. > I'm wonder what initially sets the $HOME variable to > /home/user rather than /usr/home/user. Your entry in /etc/passwd. HTH, Doug -- "Live free or die" - State motto of my ancestral homeland, New Hampshire Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message