Skip to content

Commit 528c9bb

Browse files
authored
Updating M1 installing instructions (#51)
1 parent f170099 commit 528c9bb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Installing-ZSH.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ To set zsh as your default shell, execute the following assuming a default insta
5252
For m1 macs:
5353

5454
```sh
55-
chsh -s /opt/homebrew/bin/zsh
55+
chsh -s $(which zsh)
5656
```
5757

5858
For intel macs:
@@ -67,6 +67,12 @@ To set zsh as your default shell, execute the following assuming a default insta
6767
chsh -s /bin/zsh
6868
```
6969

70+
If you get an error for non-stadard shell you can try running first
71+
72+
```sh
73+
sudo sh -c "echo $(which zsh) >> /etc/shells"
74+
```
75+
7076
Assuming you have [Homebrew](https://brew.sh/) installed. If not, most versions of
7177
**macOS** ship zsh by default, but it's normally an older version. Alternatively, you may
7278
also use [MacPorts](https://www.macports.org/)

0 commit comments

Comments
 (0)