If you want a conda environment to be activated by default when you launch a new bash terminal, you can add the following line to your
You should replace
<PATH_TO_YOUR_CONDA_ENVIRONMENT/bin> in the above line with the full path to your conda environment.
In your case, you can add the following line to your
Basically we are adding the
bin directory of your conda environment as the first entry in your PATH which is essentially what the
activate convenience script will do. After this, When you open a new bash terminal, the conda environment will be "activated"/"enabled" by default.
Note that you may not see the
(myenv) prefix to your bash prompt like you would if you did
source activate myenv. If you want the prefix to your prompt to show up as well, add the following line to your
(myenv) is any custom name you can give that will show up as the prefix to the bash prompt.