Date: Wed, 27 May 1998 17:22:19 GMT From: Charlie Root <root@cc1003523-a.twsn1.md.home.com> To: undisclosed-recipients:; Message-ID: <199805271722.RAA00847@cc1003523-a.twsn1.md.home.com>
next in thread | raw e-mail | index | archive | help
I have a problem with my shell prompt. I want to set it so that it will show the directory I am currently in. I have tried to do this with: set prompt="`pwd`#" All seems fine until I switch directories, and the directory listed on the prompt stays the same. I.E. I am in "/root" but the prompt says "/usr/bin#". I am using the sh shell and I am wondering if there is a way to get it to do "pwd" each time before the prompt appears so that it will always reflect my current directory. 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?199805271722.RAA00847>