I have installed Fish on my Ubuntu, but every time I open my terminal I have to run the bash command to initiate conda base. I hadn't this problem with ZSH in the past.
Is there any solution to make it run as conda base by default?
1 Answer
As also mentioned in nicdelillo's answer in the Add conda to path in fish StackOverflow question, just run the following command from your Bash shell:
conda init fishThis command will add something like this in your .config/fish/config.fish file:
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
eval /home/user/miniconda3/bin/conda "shell.fish" "hook" $argv | source
# <<< conda initialize <<<After that just open a new fish session and you should be able to initialize your conda environment as you do using the Bash shell.