Fish Shell
https://github.com/fish-shell/fish-shell
Installation
macOS:
brew install fish
Itβs immediately runnable after installation:
fish
Making it a default
See where Fish is installed (it might be different between macOS versions)
which fish/opt/homebrew/bin/fish
echo /opt/homebrew/bin/fish | sudo tee -a /etc/shellschsh -s /opt/homebrew/bin/fish
Customization
Fish is a shell that is much better equipped by default compared to other shells.
Greeting
Add to ~/.config/config.fish
:
# Disable the fish greeting messageset fish_greeting
Brew
# Breweval "$(/opt/homebrew/bin/brew shellenv)"
Plugin management with Fisher
Fisher seems to be the most popular plugin manager for Fish
brew install fisher
Prompt customization
Tide is an extensive prompt customization plugin.
It expects a couple of dependencies to be installed first:
- Nerd Fonts β
brew install font-hack-nerd-font
fisher install IlanCosman/tide@v6
Plugins
fisher install patrickf1/fzf.fish
z
utility plugin
fisher install jethrokuan/z
fisher install reitzig/sdkman-for-fish@v2.1.0