thoughtbot / laptop

A shell script to set up a macOS laptop for web and mobile development.
https://thoughtbot.com
MIT License
8.51k stars 1.91k forks source link

Add brew to path after install #633

Closed telavathil closed 1 year ago

telavathil commented 1 year ago

I got this error on the execution of the script

line 274: brew: command not found

Looking into the logs it seams like brew wasn't in the path at the time of execution and zsh hadn't yet been setup. So I added a check for .zshrc and then added brew to the path for bash or zsh.