Using `nix develop` opens `bash` instead of `zsh`

or more generically:

nix develop -c $SHELL

or you can use direnv which doesn’t change your shell after creating a cache.

9 Likes