Sometimes when you go into a shell, there are certain env variables that may be already set. Or you may want to run something at boot or when you login to a new shell.
There are several places to put those commands:
At login (in this order) - these are in the $HOME dir of the user:
(also check if these files call another file, like /etc/bashrc or /etc/profile)