I was trying to make fish my default shell, and it works in iterm2, but every time I try to open the terminal in vscode I get this error:
The terminal process failed to launch: Path to shell executable "/bin/fish" does not exist.
I am on macOS. How can I solve this issue?
Note: Opening vscode form the terminal using the code command works.

The standard way to change your shell on both Linux and macOS is via the
chshcommand. The steps are:/etc/shells, if not already present. This usually needs to be done as root, but only has to be done once.chsh -sto permanently switch shells.Example:
and now your shell is /opt/homebrew/bin/fish.
on macOS, there is another way: