PATH variable resets with reboot

Just as the title indicates my PATH variable resets after every reboot. I read that I have to edit my bashrc file's PATH variable, but I don't have anything there that suggests anything related to the PATH variable.


Solution 1:

if you want to update the PATH only for your user, just edit your local bashrc

gedit ~/.bashrc

if you want to update the global PATH

gksudo gedit /etc/bash.bashrc

Solution 2:

If it isn't in your ~/.bashrc add it on a new line.

export PATH=/path/to/whatever:$PATH