Date: Tue, 17 Dec 1996 18:35:48 -0800 (PST) From: Steve Reid <steve@edmweb.com> To: Hans N Gruber <hounddog@juno.com> Cc: questions@freebsd.org Subject: Re: su warning Message-ID: <Pine.BSF.3.91.961217182846.741L-100000@bitbucket.edmweb.com> In-Reply-To: <19961217.200533.7999.0.hounddog@juno.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.961217182846.741L-100000>