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.
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.0whenever direnv unloads would be handy.