Skip to content

Commit

Permalink
change_shell: Update new_shell constant
Browse files Browse the repository at this point in the history
- On Apple Silicon Homebrew installing into /opt/homebrew instead of of /usr/local/
  • Loading branch information
0xmachos committed Apr 24, 2024
1 parent 154c1c9 commit 9327bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bittersweet
Original file line number Diff line number Diff line change
Expand Up @@ -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}'"
Expand Down

0 comments on commit 9327bfc

Please sign in to comment.