Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 1998 20:39:29 -0400
From:      Alex Heiphetz <heiphetz@cvzoom.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   prompt customization
Message-ID:  <3.0.5.32.19980519203929.009d95b0@cvzoom.net>

next in thread | raw e-mail | index | archive | help
Thank you for the great product and much help
onmy previous question. 
Now I have a really small one: I'm trying to 
customize prompt to show prompt number. I added

PS1="(\#) $"
export PS1

to /etc/profile, but as prompt I get *literal*

(\#) $

instead of something like

(24) $

Where did I screw up?
BTW, what is the way to change root prompt in the same manner?

Thanks in advance,
A.Heiphetz


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?3.0.5.32.19980519203929.009d95b0>