还真的可以了哈,加了exec-path-from-shell
只多了0.2秒左右。那请问conda这一段该怎么处理呢?对环境变量不熟悉。
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
#__conda_setup="$('/usr/local/Caskroom/miniconda/base/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
#if [ $? -eq 0 ]; then
# eval "$__conda_setup"
#else
# if [ -f "/usr/local/Caskroom/miniconda/base/etc/profile.d/conda.sh" ]; then
# . "/usr/local/Caskroom/miniconda/base/etc/profile.d/conda.sh"
# else
# export PATH="/usr/local/Caskroom/miniconda/base/bin:$PATH"
# fi
#fi
#unset __conda_setup
# <<< conda initialize <<<