0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-19 04:01:21 +02:00

Updating M1 installing instructions (#51)

Giuseppe Giovanelli 2024-03-15 09:32:44 -03:00 committed by GitHub
parent f170099f07
commit 528c9bb4c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

@ -52,7 +52,7 @@ To set zsh as your default shell, execute the following assuming a default insta
For m1 macs:
```sh
chsh -s /opt/homebrew/bin/zsh
chsh -s $(which zsh)
```
For intel macs:
@ -67,6 +67,12 @@ To set zsh as your default shell, execute the following assuming a default insta
chsh -s /bin/zsh
```
If you get an error for non-stadard shell you can try running first
```sh
sudo sh -c "echo $(which zsh) >> /etc/shells"
```
Assuming you have [Homebrew](https://brew.sh/) installed. If not, most versions of
**macOS** ship zsh by default, but it's normally an older version. Alternatively, you may
also use [MacPorts](https://www.macports.org/)