From 9327bfc8ff3f8ab0ea49b44a1f888115a4349c56 Mon Sep 17 00:00:00 2001 From: 0xmachos <0xmachos@gmail.com> Date: Wed, 24 Apr 2024 02:26:20 +0100 Subject: [PATCH] change_shell: Update new_shell constant - On Apple Silicon Homebrew installing into /opt/homebrew instead of of /usr/local/ --- bittersweet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bittersweet b/bittersweet index 6c94101..9090441 100755 --- a/bittersweet +++ b/bittersweet @@ -975,7 +975,7 @@ function change_shell { # Change default shell to zsh as installed by Brew # /usr/local/bin/zsh instead of /bin/zsh - local -r new_shell="/usr/local/bin/zsh" + local -r new_shell="/opt/homebrew/bin/zsh" if [[ "${SHELL}" == "${new_shell}" ]]; then echo "[✅] Current shell is already '${new_shell}'"