sudo sh -c 'echo ~/brew/bin/fish >> /etc/shells'
chsh -s $(which fish)
Related[edit]
See also[edit]
brew install fish, Make fish your default shell in macOS
- Fish shell,
fish_config, fish vi key bindings, set --export, Search as you type, Fisher, ~/.config/fish/config.fish, fish_add_path, fish_prompt, funcsave, ~/.config/fish/functions/, string trim, psub, history search