Slow command completion when using fish on Mac OS 10.15 (Catalina) and Mac OS 11 (Big Sur)

Originally posted on 2021-02-15

If you're using fish shell and you've noticed that autocompletion has gotten unbearably slow lately you're not alone. What's the fix? Fish shell will natively fix this eventually but in the meantime you can move to the head version like this:

brew unlink fish
brew install sphinx-doc
brew install --head fish