My built-in terminal on IntelliJ is not working as expected. I recently got a new laptop and installed Fedora on it, and migrating everything from my old Linux laptop to my new one. However, the terminal is the one thing that doesn't seem to be working.
Specifically, when creating a new terminal instance, instead of reading my .bashrc like my old laptop used to do, the name is sh-5.0$. I have to run source ~/.bashrc to get my usual terminal environment working, but even then certain commands like mvn aren't found in the terminal.
Why is this happening? I have identical settings to my old laptop and that runs it fine. How can I fix this?