The keyring bash completion mess on Mac OS

If you’ve done a
brew upgrade
on an Apple silicon machine recently, you might have ended up with a messed-up keyring completion in /opt/homebrew/etc/bash_completion.d that gives you

vanja$ bash
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 … fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory …


Comment it out to prevent this spamming of the terminal’s line every time you start it.

Leave a Comment

Your email address will not be published. Required fields are marked *