Score:1

Fish does not run as conda base by default

in flag

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?

Score:2
ca flag

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 fish

This 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.

ShirinJZ avatar
in flag
Okay, thank you :)
BeastOfCaerbannog avatar
ca flag
You're welcome! :D
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.