Perhaps not The Most Logical Way™, but not entirely without logic, either:
https://linuxize.com/post/bashrc-vs-bash-profile/
/etc/profile is, of course, global for all users.
~/.config/environment.d is new-fangled freedesktop/systemd stuff: https://www.freedesktop.org/software/systemd/man/environment.d.html
https://xkcd.com/927/