Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jun 2000 13:28:31 -0700 (PDT)
From:      Doug Barton <Doug@gorean.org>
To:        Joey Garcia <bsd_usr@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: Bash and $HOME env var quirks
Message-ID:  <Pine.BSF.4.21.0006021323550.51338-100000@dt051n0b.san.rr.com>
In-Reply-To: <20000601205839.15411.qmail@web214.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0006021323550.51338-100000>