Skip to content

conda --help does not show conda activate and conda deactivate info #6353

@kalefranz

Description

@kalefranz

What is the problem?

Currently, the main help page does not show activate or deactivate.

Why does this happen?

This happens because conda itself is not like most commands in that it must be installed into your shell profile for it to be used. When you call conda at the command line, you are actually invoking a shell function that finds and executes the write scripts. In these shell functions, activate and deactivate are treated differently than the other commands.

How do we fix it?

To address this, we could potentially create some mock entries for "activate" and "deactivate" that would show up on the help page. Because these commands are intercepted and parsed first by shell functions, we do not have to worry about them being invoked instead of the real activate and deactivate commands (which are really just shell functions).

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicate::primaryif an issue/PR has duplicates, this is the consolidated, primary issue/PRin-progressissue is actively being worked onlocked[bot] locked due to inactivitysource::governancecreated by members of the conda governance (https://github.com/conda-incubator/governance)type::featurerequest for a new feature or capability

    Type

    No type

    Projects

    Status

    🏁 Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions