Apologies if this duplicate but a lot of other threads are years old.
I want to update my $PATH variable permanently so it doesn't reset everytime I quit Terminal. I have seen people suggest to run the following:
gedit ~/.bashrc
But this returns:
-bash: gedit: command not found
I have used Spotlight to search my hard disk for the .bashrc
file and can't find it. Can anyone help?
Thanks in advance...
gedit
is a gnome text editor, usenano
or something native to OS X instead. – Toscanini