No, you misunderstand my comment. It doesn’t matter whether or not your shell is bash. ~/.xsession file is sourced using /bin/sh, not using your shell. You cannot expect to be able to source ~/.bashrc from ~/.xsession, no matter what your preferred shell is.
No, you misunderstand my comment. It doesn’t matter whether or not your shell is bash. ~/.xsession file is sourced using /bin/sh, not using your shell. You cannot expect to be able to source ~/.bashrc from ~/.xsession, no matter what your preferred shell is.