prompt2

[ Available lists | Index of freebsd-questions | Month of Dec 1998 | Week of 7 Dec 1998 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Markus <mennis@ucsd.edu>
Date
7 Dec 1998 20:40:22
Subject
prompt2
Message-ID
366C3D88.7C67F93E@ucsd.edu

Replies

[ Hide this part ]
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


Elapsed time: 0.084 seconds