From owner-freebsd-questions Tue Dec 17 18:36:05 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA10930 for questions-outgoing; Tue, 17 Dec 1996 18:36:05 -0800 (PST) Received: from bitbucket.edmweb.com (bitbucket.edmweb.com [204.244.190.9]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id SAA10900 for ; Tue, 17 Dec 1996 18:36:00 -0800 (PST) Received: (from steve@localhost) by bitbucket.edmweb.com (8.6.12/8.6.12) id SAA02004; Tue, 17 Dec 1996 18:35:51 -0800 Date: Tue, 17 Dec 1996 18:35:48 -0800 (PST) From: Steve Reid To: Hans N Gruber cc: questions@freebsd.org Subject: Re: su warning In-Reply-To: <19961217.200533.7999.0.hounddog@juno.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Warning: Imported Path Contains Relative Components. I'd guess it does that if any part of the path doesn't start with a / > P.S. While I'm at it...to get my Bash prompt to display current working > directory what is the proper syntax? I've tried everything I've found so > far. It is my understanding from reading the man pages that I should > create a .bash_login (as opposed to .bashrc) but I cannot get the promt > working. This is what I use: PS1="\u@\h:\$PWD\\$ " It gives you: user@host:/directory$ root@host:/directory# Put it in your .bash_profile. "login" is for csh-like shells, "profile" is for sh-like shells. Try "man bash" for more info.