Skip to content

Installation as ~/.config/direnv/lib/sorri.sh #2

@shajra

Description

@shajra

I think I have a preference of installing a tool like sorri globally as a library. I think you're file is very close. I just need to crop out the last call to sorri_main.

So it's not like I'm blocked or anything, this is easy enough to do.

But if you think it's a good idea, I wonder if we can make it more of an official way to install sorri as a courtesy to new users.

Would you be opposed to taking out the last call to sorri_main? And then just allowing the invocation to be done explicitly in the user's .envrc file? On that note, "sorri_main" seems like a bit of an internal name. Could we just make it "sorri" instead?

I think the instructions on the README would then be:

$ echo ". nix/sorri; sorri $(basename $PWD)" > .envrc

Is that too bad? Any suggested alternative?

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