I wrote a small bash script to handle conda initialization outside .bashrc, then aliased it in .bashrc alias startconda='source /home/ade/.adebin/conda_init.sh' conda_init.sh: #!/bin/bash if [ x"${CONDA_EXE}" == "x" ]; then # >>> conda initialize >>> # !! Contents within this block are managed by 'conda init' !! __conda_setup="$('/home/ade/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" if [ $? -eq 0 ]; then eval "$__conda_setup" echo...
Originally asked by PEREZ MONSIVAIS JOSE DE JESUS on Stack Exchange (askubuntu) (CC BY-SA 4.0).