Date: Wed, 2 Jan 2002 17:11:48 +0100 From: Julio Merino <juli@klamath.local> To: freebsd-questions@FreeBSD.ORG Subject: Re: Some /bin/sh questions Message-ID: <20020102171148.A45897@klamath.local> In-Reply-To: <200201021604.g02G4j560286@lurza.secnetix.de>; from olli@secnetix.de on Wed, Jan 02, 2002 at 05:04:45PM %2B0100 References: <20020102170108.B1157@klamath.local> <200201021604.g02G4j560286@lurza.secnetix.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 02, 2002 at 05:04:45PM +0100, Oliver Fromme wrote: > Julio Merino <juli@klamath.local> wrote: > > First, how can I add the current working directory in the PS1? >=20 > export PATH=3D$PATH:. >=20 > However, you should be aware of the security implications. > It's usually better not to do that. No, no, no... PS1, not PATH. I know that about PATH, and I don't want it. What I would like is sh to show the current working directory in the prompt line... So, I do this in zsh: export PS1=3D"%w%# " And I get this as my command prompt: /tmp# Is this possible with sh? Thanks --=20 La ignorancia es la felicidad. Julio Merino (Slink) <juli@merino.net> --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8MzFDzz00ZOPKycwRAit1AKCisd8qvgpp8ItyRfC2EXTBnkH5uACfe0y1 AFO/LB+ZYrpHHxDV2E719qI= =HzO0 -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP-- 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?20020102171148.A45897>