Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 1998 14:22:50 -0400 (EDT)
From:      Matt Behrens <matt@zigg.com>
To:        questions@FreeBSD.ORG
Subject:   parsable promptstring in sh?
Message-ID:  <Pine.BSF.3.96.980507142109.25649A-100000@megaweapon.zigg.com>

next in thread | raw e-mail | index | archive | help
Can I somehow do this:

	set -o promptexpn
	PS1=\`pwd\`$; export PS1

or some such to have a prompt that is expanded by sh?  (I know there is no
promptexpn option, per se, but there's got to be something, right?)

  Matt Behrens <matt@zigg.com>   | From an actual Linux machine, in
  http://www.zigg.com/           |  production use:
  Chanop Script Coordinator      | <censored>$ w
  World-Wide FreeNet IRC Network | Segmentation fault


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.3.96.980507142109.25649A-100000>