Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2000 20:20:01 -0500
From:      "David J. Kanter" <djkanter@northwestern.edu>
To:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Setting shell prompt for C-shell
Message-ID:  <20000720202001.A56906@localhost.localdomain>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000720202001.A56906>