My Turnkeylinux machine uses the following PS1 environment variable for bash prompt:
PS1="${debian_chroot:+($debian_chroot)}\[\033[01;33m\]\u@\h \[\033[01;34m\]$(promptpath)\[\033[00m\]\$"
I plugged the above into what is essentially a stock "Debian GNU/Linux 6.0 \n \l" and it complained about "promptpath" being unavailable.
I tried "which promptpath", and its result was NULL (it found nothing). Since promptpath doesn't seem to be a program, what is it?
What must I do to make promptpath available on the stock Debian machine so that the prompt works without any changes?