echo $PATH
[OUT] /home/cmaspi/anaconda3/bin /home/cmaspi/.local/bin /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games /usr/local/games /snap/bin
I've already removed anaconda3 directory, removed anaconda related lines from both ~/.bashrc and ~/.config/fish/config.fish
How do I get rid of anaconda from my PATH?
I've already referred this question and official documentation. I must add that I did the things in option A of the documentation, I didn't have the export path line that is
export PATH="/Users/jsmith/anaconda3/bin:$PATH"
in my ~/.bashrc or ~/.profile
export
command. Could be just an assignment, i.e.PATH=...
, normally in .profile for bash. Otherwise, you will need to see where it may be defined systemwide, e.g tecmint.com/set-unset-environment-variables-in-linux could be in many places.