When I open the terminal I get the error /Users/sanjayshreeyansgmail.com/.zshrc:17: command not found: “export
When I opened terminal today, I see this error
/Users/sanjayshreeyansgmail.com/.zshrc:17: command not found: “export.
All commands seem to work fine, it is just my inner perfectionest screaming.
I have M1 MacBook Air on Big Sur 11.2.3
.zshrc file:
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/Users/sanjayshreeyansgmail.com/miniforge3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/Users/sanjayshreeyansgmail.com/miniforge3/etc/profile.d/conda.sh" ]; then
. "/Users/sanjayshreeyansgmail.com/miniforge3/etc/profile.d/conda.sh"
else
export PATH="/Users/sanjayshreeyansgmail.com/miniforge3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
“export PATH=/opt/homebrew/bin:/Users/sanjayshreeyansgmail.com/miniforge3/bin:/Users/sanjayshreeyansgmail.com/miniforge3/condabin:/Library/Frameworks/Python.framework/Versions/3.8/bin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin”
Remove the quotes before the word export
and at the very end of the file. This should not be quoted at all, let alone in smart quotes.