Files
sysconfig/conda_init.sh
luk 9742f6dab2 refactor: 脚本及配置文件命名统一用 _ 分隔
将 .sh/.bat 脚本与 .js/.plist/.Dockerfile 等文件中以 - 分隔的文件名
改为 _ 分隔,dcloud-renew 目录改为 dcloud、script_nuance 目录改为
nuance,并同步更新脚本内部引用与 README 路径。

Co-Authored-By: AtomCode (deepseek-v4-flash) <noreply@atomgit.com>
2026-08-25 15:11:50 +08:00

27 lines
967 B
Bash
Executable File

# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
# __conda_setup="$('/usr/local/Caskroom/miniconda/base/bin/conda' 'shell.bash' '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 <<<
echo "Please run this script with 'source', otherwise it won't take effect in the current shell."
if [ -f "/usr/local/Caskroom/miniconda/base/etc/profile.d/conda.sh" ]
then
source "/usr/local/Caskroom/miniconda/base/etc/profile.d/conda.sh"
elif [ -f "/opt/homebrew/Caskroom/miniconda/base/etc/profile.d/conda.sh" ]
then
source "/opt/homebrew/Caskroom/miniconda/base/etc/profile.d/conda.sh"
fi
conda activate base