Source the local bash profile even if it's not executable, make __ahw_git_ps1 more bulletproof, and make some more local variables safe in Emacs.