[an error occurred while processing this directive]

Why is my environment only loaded once?

The .profile file is only loaded once (for your login shell) subsequent
shells should be initialized by setting ENV=$HOME/.kshrc (for ksh).

Bash users can use $HOME/.bash_profile for the login shell environment
and $HOME/.bashrc.

[an error occurred while processing this directive]