From d7f970a7a52b6e84adf7c11b4bfa57ffff949f96 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 10 Mar 2022 14:31:42 +0100 Subject: Fix homebrew intel/M1 setup Homebrew installs in a different path on the new M1 chip macs and that result in incompatibilities between the old and the new setup and making it harder to have a unified generic setup Also the new MacOS Monterey stopped shipping and using bash as the default shell, causing more incompatibilities --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 8e97de3..fb2e01a 100644 --- a/README.md +++ b/README.md @@ -85,8 +85,8 @@ gpg --edit-key a14m@pm.me ## MacOS (extras) - Bash shell default ```bash -sudo bash -c 'echo /usr/local/bin/bash >> /etc/shells' -chsh -s /usr/local/bin/bash +sudo bash -c 'echo $(brew --prefix)/bin/bash >> /etc/shells' +chsh -s $(brew --prefix)/bin/bash ``` ## ParrotOS (extras) -- cgit v1.2.3