From 2d5c70b3c096fbc5355010d4adfd061d93732606 Mon Sep 17 00:00:00 2001 From: Charles Gould Date: Sun, 22 Dec 2024 23:32:44 -0600 Subject: [PATCH] install: new homebrew bin path --- install/install-shell.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install/install-shell.sh b/install/install-shell.sh index 45cd6f5..8451c7a 100755 --- a/install/install-shell.sh +++ b/install/install-shell.sh @@ -4,11 +4,14 @@ echo "***** INSTALL SHELL *****" if [ -x "/usr/local/bin/fish" ]; then SHELL_PATH="/usr/local/bin/fish" +elif [ -x "/opt/homebrew/bin/fish" ]; then + SHELL_PATH="/opt/homebrew/bin/fish" elif [ -x "$HOME/.nix-profile/bin/fish" ]; then SHELL_PATH="$HOME/.nix-profile/bin/fish" else echo "Cannot set login shell! Tried the following paths:" echo " - /usr/local/bin/fish" + echo " - /opt/homebrew/bin/fish" echo " - $HOME/.nix-profile/bin/fish" exit 1 fi