Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jan 2002 17:04:45 +0100 (CET)
From:      Oliver Fromme <olli@secnetix.de>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Some /bin/sh questions
Message-ID:  <200201021604.g02G4j560286@lurza.secnetix.de>
In-Reply-To: <20020102170108.B1157@klamath.local>

next in thread | previous in thread | raw e-mail | index | archive | help
Julio Merino <juli@klamath.local> wrote:
 > First, how can I add the current working directory in the PS1?

export PATH=$PATH:.

However, you should be aware of the security implications.
It's usually better not to do that.

 > And second, does it have filename autocompletion?

No.

If you're familiar with zsh, I'd suggest you put a statically
linked copy of it into your /bin directory.  Then there is no
reason anymore to use the plain sh for interactive work, even
in single-user mode.

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"All that we see or seem is just a dream within a dream" (E. A. Poe)

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?200201021604.g02G4j560286>