Fixed bashrc and tcshrc bugs, including how the prompt displays