autoenv icon indicating copy to clipboard operation
autoenv copied to clipboard

Cache and revert

Open alissa-huskey opened this issue 3 years ago • 1 comments

This patch provides a autoenv_cache function that can be used to cache variables in .env files when leaving is enabled. These are then reverted in autoenv_leave().

alissa-huskey avatar Feb 25 '22 23:02 alissa-huskey

Oooh, this looks useful ^w^, it seems to address some ideas in #19. Before I merge this I wanna get #205 merged, so tests can be added for this behavior

hyperupcall avatar Mar 18 '22 19:03 hyperupcall

While this is a useful feature for some people, I'm closing this because I think the addition would make the project more complex than what is necessary. There are other softwares that do better unloading and those can be used instead. This code is written to be simple and clear, so many features will be left-out.

hyperupcall avatar Oct 14 '23 03:10 hyperupcall