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?
which promptpathreturn on the Turnkey machine? – nickgrim Oct 23 '12 at 15:32type promptpathon the Turnkey machine. This will show what it is. Likely, it's a TurnKey Linux-ism, where it's some function defined in the system-wide bash_profile. If that's the case, you can try to replicate the function, or just remove it from your Debian $PS1. – cjc Oct 23 '12 at 15:36type-- learned a new command. Thanks :3 – starlocke Oct 23 '12 at 15:38