Skip to content

Commit

Permalink
mention M2 macs as well
Browse files Browse the repository at this point in the history
  • Loading branch information
innocentmunai authored Jan 6, 2024
1 parent 93961e8 commit fc08b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/shell.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- Run `touch ~/.bash_profile` create the bash profile.
- Run `subl ~/.bash_profile` to open up the bash profile in Sublime Text.

NOTE: M1 macs may run into errors at this stage when they try to switch to bash - if so, you'll need to do the following things in addition to running the steps above:
NOTE: M1 and M2 macs may run into errors at this stage when they try to switch to bash - if so, you'll need to do the following things in addition to running the steps above:
- Go to 'System preferences' then 'Users & Groups' and right-click on the current admin profile. Click 'Advanced Options'
- Under 'Login shell' change '/usr/local/bin/bash' to just say '/bin/bash'
- Run `subl ~/.bash_profile` to open up the bash profile in Sublime Text. At the top of the file, paste `eval "$(/opt/homebrew/bin/brew shellenv)"`
Expand Down

0 comments on commit fc08b6d

Please sign in to comment.