Is it possible to set a different default shell?

Hey, I saw that fish shell support is on your roadmap, but is there a way to set the shell that a new environment is spawned in? I use fish as my default shell and actually don’t want to change that. I would be fine to use zsh for flox but even when I start a zsh session to activate a flox env it tries to start a new fish shell which gives me ERROR: unsupported shell: /opt/homebrew/bin/fish

Does setting SHELL=zsh solve it?


hi @mkenigs Sorry. I’m a total beginner when it comes to nix and flox. Where should I set this? As env var before the command? SHELL=zsh flox activate?

Yes. That works. Thank you

1 Like

Awesome glad that works for now! I am also eagerly awaiting fish support…