Fish shell
Fish is the superior shell with sensible defaults.
Installation#
brew install fishFind the path to the fish installation.
which fishAdd fish to known shells.
/opt/homebrew/bin/fishRestart terminal. May need to restart laptop.
Set fish as default shell
chsh -s /opt/homebrew/bin/fishAdd brew to the $PATH in your config.fish file.
fish_add_path /opt/homebrew/binIt is (by default) safe to use fish_add_path in config.fish.
Wrap brew with Homebrew-file in your config.fish file.
if test -f (brew --prefix)/etc/brew-wrap.fish source (brew --prefix)/etc/brew-wrap.fishendfish_configStarship#
Starship is a cross-shell prompt that has a customizable config file.
Installation#
Install the binary using devbox
devbox add starshipAdd the init hook
starship init fish | sourceAlternatives#
Tide is a customizable prompt for fish.
Installation#
fisher install IlanCosman/tide@v6Configure the prompt.
tide configurezoxide#
zoxide makes changing directories a breeze by remembering the directories that you frequently visit and letting you fuzzy jump to the directory you want. But honestly, I use the Git Repos Raycast extension far more than zoxide.
Installation#
Install zoxide with devbox.
devbox add zoxideAdd zoxide init fish | source to the end of your config.fish.
zoxide init fish | sourceSome people like to change the command to run zoxide to cd using the —cmd flag. You can do this by changing the zoxide init command in your config.fish file but I found it annoying that fish would highlight the arguments to cd with red syntax highlighting.
Alternatives#
z is a native fish plugin that also lets you change directories with a snippet of the actual directory’s name.
Installation#
fisher install jethrokuan/zbat#
bat is the better cat alternative.
Installation#
devbox add batfd#
fd is the better find alternative.
Installation#
devbox add fdeza#
eza is the better ls alternative.
Installation#
devbox add ezaFisher#
Fisher is a plugin manager for fish.
Installation#
brew install fisherfzf#
fzf is a general-purpose command-line fuzzy finder. I find this to be really useful for searching through my command history.
fzf.fish adds nice keybindings for fzf.
Installation#
Install fzf
devbox add fzfInstall fzf.fish
fisher install PatrickF1/fzf.fishUsage#
Show command history: CTRL + R
colima#
Installation#
brew install colima qemuOptionally run colima as a brew service so that it starts on login.
brew services start colimaConfigure DOCKER_HOST:
set -Ux DOCKER_HOST "unix://$HOME/.colima/docker.sock"Optionally, configure TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE for testcontainers.
set -Ux TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE /var/run/docker.sockUsage#
Start colima
colima startIf something is wrong, usually it’s good to just restart colima:
colima restart