I uninstalled fish shell from macOS, so I’ll introduce the steps.
I started using fish, but it doesn’t support nvm, and it seems like this kind of thing will increase in the future, so I decided to go back to zsh after all 😅
nvm and fishOriginally, nvm’s documentation contains the following note, indicating that nvm does not support fish and recommends using third-party tools. (The documentation introduces several tools)
Quote from: fish 環境にnvm + fish-nvmを導入した時のメモ | DevelopersIO
chsh -s /bin/zsh
cat /etc/shells
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.
/bin/bash
/bin/csh
/bin/dash
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh
/opt/homebrew/bin/fish
sudo -e /etc/shells
Then remove:
/opt/homebrew/bin/fish
brew uninstall fish
which fish
fish not found
Above, I uninstalled fish shell from macOS.
That’s all from the Gemba.