setting path to psql on MACosX

Viewed 27

everybody, stack up with the following problem when I was trying to connect psql to my terminal in MacOS. During the open .zshrc it gives me the anaconda locked file, therefore, I am not able to add new path.

conda initialize
 Contents within this block are managed by 'conda init' !!
__conda_setup="$('/opt/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
    eval "$__conda_setup"
else
    if [ -f "/opt/anaconda3/etc/profile.d/conda.sh" ]; then
        . "/opt/anaconda3/etc/profile.d/conda.sh"
    else
        export PATH="/enter code hereopt/anaconda3/bin:$PATH"
    fi
fi
unset __conda_setup
# <<< conda initialize <<<
0 Answers
Related