Skip to content

Unload hook #129

@nyarly

Description

@nyarly

When leaving an .envrc directory, it'd be nice to be able to run a script to undo changes that happened when entering the dir.

For instance, I'm using chruby for use_ruby - so long as I switch from ruby project to ruby project, it's fine, but leaving direnv dirs, I'm left with "whichever ruby I had last" - being able to chruby 2.0 whenever direnv unloads would be handy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions