Currently on a MacOS Catalina 10.15.7
Not knowing what I was doing I accidentally installed Anaconda3 over my Miniconda, making it so I could not longer use my old environments. So I removed my Anaconda3 folder, and tried to manually change my .bash_profile script so that all paths pointing at Anaconda3 were now pointing at my old Miniconda folder.
However, when I closed the terminal and restarted it, after deleting the Anaconda3 and changing the bash file, I noticed I was in zsh. So after a lot of trial and error, I got conda to start working again by initializing it this way:
~/miniconda/bin/conda init zsh
However, the fact that Anaconda3 had modified my .bash_profile shell script suggests that it set my system to use bash instead of zsh. Having never conceptualized that there were different shell scripts before today, I did not examine this beforehand. I wonder if manually changing my shell to bash, would have been an alternative to initializing it on zsh and if that would be more desirable? Why would conda have automatically used bash vs zsh?
Conda documentation suggests that if initializing manually on my computer you can initialize on zsh which further confuses me as to why it would have changed my default shell to bash in the first place?
Maybe I will try it myself later and post my finding here if I dare mess with it further. Much of this is brand new to me, and I have already tried to do a ton of research, but can't seem to find info about this in particular.
No, it does not change your default shell.