zsh as my shell, but
bash seems to be very much ingrained in the Nix ecosystem. All that being said, is there a way to configure tools like
nix run, and
nix develop to drop me into a
zsh instead of
Currently, I have defined an alias
nixs='nix-shell --command zsh'. Though this works, it has always felt ugly, like I am throwing away the ability to use
--command for its true purpose, while also training my muscle memory to use a non-standard command to obtain a development shell.
Otherwise, I use the “correct” command and then manually invoke
zsh, but this feels wrong as well.
Now that I am trying to learn to use Flakes and the experimental
nix command, this problem has come to a head: I’d like to stop using hacky solutions to this and figure out if there’s one true way to accomplish what I’m after.