Skip to content

local switches: shortcut for eval in older project #3143

@avsm

Description

@avsm

Right now, I shell alias this for whenever I switch back to building a project with a local switch:

eval $(opam env --switch=`pwd`)

It would be nice to have a shortcut for this, or some other recommendation for how to use it more seamlessly. opam exec bash works fine as well, but obviously requires a subshell.

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