-
-
Save azimidev/47774c1656c0311a50219c2acaccc3d1 to your computer and use it in GitHub Desktop.
brew: unlink and re-link all formulas and kegs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls -1 /usr/local/Library/LinkedKegs | while read line; do echo $line; brew unlink $line; brew link --force $line; done | |
brew list -1 | while read line; do brew unlink $line; brew link $line; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment