improvements to prompt.sh: added reduced (directory only) PS1 mode, made PS1 mode persistent across sessions