Sample Header Ad - 728x90

which command returning undocumented things

1 vote
1 answer
350 views
I am trying to locate which conda executable I am using. For this, I want to use which command. As per man pages, it should return the path of the executable. Instead it returns some bash function (base) ➜ ~ which conda conda () { \local cmd="${1-__missing__}" case "$cmd" in (activate | deactivate) __conda_activate "$@" ;; (install | update | upgrade | remove | uninstall) __conda_exe "$@" || \return __conda_reactivate ;; (*) __conda_exe "$@" ;; esac } If I try to see the location of __conda_exe, again I get another function: __conda_exe () { ( __add_sys_prefix_to_path "$CONDA_EXE" $_CE_M $_CE_CONDA "$@" ) } where is the conda function I am using?
Asked by asdf (111 rep)
Jul 1, 2022, 08:00 AM
Last activity: Jul 2, 2022, 01:55 PM