on-internet
← Community

Slow `conda initialize`

Stack Overflow ·

My Terminal windows are slow to start. I found that this chunk of my ~/.zshrc file is the culprit, taking up to 6 sec to execute: # >>> conda initialize >>> # !! Contents within this block are managed by 'conda init' !! __conda_setup="$('/Users/foo/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" if [ $? -eq 0 ]; then eval "$__conda_setup" else if [ -f "/Users/foo/miniconda3/etc/profile.d/conda.sh" ]; then . "/Users/foo/miniconda3/etc/profile.d/conda.sh" else export PATH="/Users/foo/miniconda3/bin:$PATH" fi fi unset __conda_setup # <<< conda initialize <<< Is this expected? How can I ma

Comments

Sign in or sign up to comment and upvote.

No comments yet.