Example: if looking for “git” and there is “git” and “gitish” on the results list, this command will complain because grep encounters more than one match. This fix makes sure it matches on the whole word.
Without this flag, I was getting more than one matches with the words git and heroku:
Example: if looking for “git” and there is “git” and “gitish” on the results list, this command will complain because
grep
encounters more than one match. This fix makes sure it matches on the whole word.Without this flag, I was getting more than one matches with the words
git
andheroku
:P.S.: Thanks for this repo, super useful to set up new MacBooks! 🙌