Hacker News new | ask | show | jobs
by mlawren 4073 days ago
A more generic tool for this type of function is direnv[http://direnv.net/].

I use direnv for example for setting per-directory Perl installation variables to keep my development environments separate.

1 comments

From my (admittedly brief) glance at the documentation, this seems like the opposite of direnv. direnv would allow you to set up configuration values on a per-directory basis, by adding a file in the directory in question. git supports this already, you can simply change the config for the repository in question. The goal of this package appears to automate this so that one doesn't need to reconfigure each individual folder.