4 ms·
I'm not sure if it's obvious but direnv also works with zsh. It's loading the .envrc with bash, then capturing the env diff, and reflecting that back to the hos
by zimbatm 5y ago
I'm not sure if it's obvious but direnv also works with zsh. It's loading the .envrc with bash, then capturing the env diff, and reflecting that back to the host shell.
direnv is still back-compat with macOS's bash 3.x, although the limitation so becoming increasingly frustrating. Bash 3.x is 10y+ old at this point and it would be nice to be able to use associative arrary finally.