Skip to content

mommy can be run every time you run cargo~ #77

@jyn514

Description

@jyn514

i promised ages ago to document this and then i never did lmao

here is a dump of my ~/.profile, which makes e.g. cargo build act as if you'd run cargo mommy build

# mommy loves you~
cargo() {
    case "$1" in
    +*) toolchain=$1
        shift
        command cargo "$toolchain" mommy "$@"
        ;;
    *) command cargo mommy "$@";;
    esac
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions