dot/shell-rc: Don't expand `TERM' or `INSIDE_EMACS' if they're not defined.