Check which shell you're using with this command: [source]
ps -p $$
Then check your shell's documentation or use your favorite search engine to find out how that file is called. For the most widely used bash
shell it's .bashrc
or .bash_profile
.