Simplify chroot detection code
Synchronize rc, theme, and ps1 files with main file
Fix LP_OLD_PROMPT_COMMAND to work with zsh