From owner-freebsd-questions Mon Dec 7 20:40:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA08151 for freebsd-questions-outgoing; Mon, 7 Dec 1998 20:40:22 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ieng9.ucsd.edu (ieng9.ucsd.edu [132.239.50.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA08146 for ; Mon, 7 Dec 1998 20:40:20 -0800 (PST) (envelope-from mennis@ucsd.edu) Received: from ucsd.edu (mennis.extern.ucsd.edu [137.110.15.202]) by ieng9.ucsd.edu (8.8.8/8.8.8) with ESMTP id UAA22025 for ; Mon, 7 Dec 1998 20:40:15 -0800 (PST) Message-ID: <366C3D88.7C67F93E@ucsd.edu> Date: Mon, 07 Dec 1998 20:41:44 +0000 From: Markus X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: prompt2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I've searched hi and low but cannot find any info regarding the prompt shell variable. I've been attempting to set my prompt as the current working directory such as: /usr/home/marke>% and have it change when the directory is changed. I was going to do an alias for cd and maybe change the prompt variable or use the second prompt variable if I knew how to print it as well but couldn't find the cd executable, I believe it's a system call???, and couldn't find info on prompt2. Do you know how to do this?? Thanks for all the help, I'm learning quickly how fun and powerful FreeBSD is..... -- ------------------------------------------------------------- Mark Ennis | mennis@ucsd.edu | marke@sparc.sandiegoca.ncr.com | ------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message