shell prompt: re-wrote

removed some performance-intensive features
fixed some bugs in the zsh prompt that would cause it to fail
on some terminals/distros
the last command's failure code is now displayed in both bash
and zsh, in the line above the new prompt.