open ~/.bash_profile
open ~/.zshrc
'''
# Copy below from ~/.bash_profile to ~/.zshrc
# added by miniconda3 5.3.0 installer
# >>> conda init >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$(CONDA_REPORT_ERRORS=false '/miniconda3/bin/conda' shell.bash hook 2> /dev/null)"
if [ $? -eq 0 ]; then
\eval "$__conda_setup"
else
if [ -f "/miniconda3/etc/profile.d/conda.sh" ]; then
. "/miniconda3/etc/profile.d/conda.sh"
CONDA_CHANGEPS1=false conda activate base
else
\export PATH="/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda init <<<
'''# Add the below line in ~/.zshrc fileexportPATH="~/Users/j/miniconda3/bin:$PATH"# Restart zshellsource ~/.zshrc