Direnv can do this, but currently only for bash shells and maybe only when using nix flakes. There is an open issue to get zsh working, but I just stick to bash TBH
I didn't know this. I know this ticket is open https://github.com/direnv/direnv/issues/443 but it is not clear to me if it is working for bash
I didn't know this. I know this ticket is open https://github.com/direnv/direnv/issues/443 but it is not clear to me if it is working for bash