When I type which conda
in terminal it returns somewhat unexpected result as below.
conda () {
if [ "$#" -ge 1 ]
then
local cmd="$1"
shift
else
local cmd=""
fi
case "$cmd" in
(activate) _conda_activate "$@" ;;
(deactivate) _conda_deactivate "$@" ;;
(install | update | uninstall | remove) $_CONDA_EXE "$cmd" "$@"
_conda_reactivate ;;
(*) $_CONDA_EXE "$cmd" "$@" ;;
esac
}
I'm using pyenv in MAC.
I looked ~/.zshrc
but found nothing special.
I expected which version I'm using to be printed, but I am getting some messages I cannot understand
Executing which -p conda
in your zsh
, it will return the path instead of the script.
For more information, read this answer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With