Skip to content

Shell prompt helper command #720

Closed
Closed
@ijanos

Description

@ijanos

I was using multirust ctl override-toolchain command to show the currently selected toolchain in my shell's prompt if the current directory contains a Cargo.toml file, similarly to showing the current git branch if the directory is a git repository. I've found issue #491 mentioning that ctl like commands are not likely to appear in rustup.

Would you consider this as a use case for a new rustup command or should I fall back to some other solution, like piping rustup's output through sed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions