From owner-freebsd-questions Thu May 7 11:23:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA02424 for freebsd-questions-outgoing; Thu, 7 May 1998 11:23:31 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from megaweapon.zigg.com (tcgr1-59.dialup.alliance.net [207.74.43.59]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA02380 for ; Thu, 7 May 1998 11:23:04 -0700 (PDT) (envelope-from matt@zigg.com) Received: from megaweapon.zigg.com (megaweapon.zigg.com [192.168.0.1]) by megaweapon.zigg.com (8.8.8/8.8.8) with SMTP id OAA25660 for ; Thu, 7 May 1998 14:22:50 -0400 (EDT) (envelope-from matt@megaweapon.zigg.com) Date: Thu, 7 May 1998 14:22:50 -0400 (EDT) From: Matt Behrens To: questions@FreeBSD.ORG Subject: parsable promptstring in sh? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 | From an actual Linux machine, in http://www.zigg.com/ | production use: Chanop Script Coordinator | $ 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