From owner-freebsd-questions Thu Jul 20 18:22:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hecky.it.northwestern.edu (hecky.acns.nwu.edu [129.105.16.51]) by hub.freebsd.org (Postfix) with ESMTP id AAB6C37C255 for ; Thu, 20 Jul 2000 18:22:20 -0700 (PDT) (envelope-from djkanter@northwestern.edu) Received: (from mailnull@localhost) by hecky.it.northwestern.edu (8.8.7/8.8.7) id UAA08318 for ; Thu, 20 Jul 2000 20:22:19 -0500 (CDT) Received: from localhost.localdomain (areca-19-028087.nuts.nwu.edu [165.124.28.87]) by hecky.acns.nwu.edu via smap (V2.0) id xma008285; Thu, 20 Jul 00 20:22:07 -0500 Received: (from david@localhost) by localhost.localdomain (8.9.3/8.9.3) id UAA56927 for freebsd-questions@freebsd.org; Thu, 20 Jul 2000 20:20:01 -0500 (CDT) (envelope-from david) Date: Thu, 20 Jul 2000 20:20:01 -0500 From: "David J. Kanter" To: FreeBSD questions Subject: Setting shell prompt for C-shell Message-ID: <20000720202001.A56906@localhost.localdomain> Mail-Followup-To: FreeBSD questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i X-Organization: Northwestern University X-Operating-System: FreeBSD 4.0-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm having trouble customizing the shell prompt for csh. I'd like to have: pwd % (ex. /home/david % or /usr/bin % ...) In my .cshrc I have: set prompt="`pwd` % " Which works fine upon start-up (/home/david % ) but doesn't change as I make my way through various directories. Look... /home/david % pwd /home/david /home/david % cd /usr/ports/distfiles/ /home/david % pwd <---- Not right! /usr/ports/distfiles /home/david % <---- Not right! What did I do wrong? -- David Kanter djkanter@northwestern.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message