In my Windows Command Prompt, if I run activate <env-name> it activates the environment without any issue. However, in other terminals for example Git Bash, the activate <env-name> does not work. I have to explicitly prepend conda infront of the command, like, conda activate <env-name>.
I need Git Bash to work with activate <env-name> because I did setup Git Bash as the default terminal in my VS Code and whenever I initiate a terminal from inside VS Code, it opens up Git Bash session and tries to execute activate <env-name>, eventually failing to activate my intended environment automatically.
Any help is appreciated.