Date: Tue, 8 Dec 1998 15:16:54 +1030 From: Greg Lehey <grog@lemis.com> To: Markus <mennis@ucsd.edu>, freebsd-questions@FreeBSD.ORG Subject: Re: prompt2 Message-ID: <19981208151654.S12688@freebie.lemis.com> In-Reply-To: <366C3D88.7C67F93E@ucsd.edu>; from Markus on Mon, Dec 07, 1998 at 08:41:44PM %2B0000 References: <366C3D88.7C67F93E@ucsd.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 7 December 1998 at 20:41:44 +0000, Markus wrote: > 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???, No, it's not a system call. > and couldn't find info on prompt2. Do you know how to do this?? It depends on your shell, which you haven't mentioned. Take a look at the man page for your shell. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key 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?19981208151654.S12688>