install: new homebrew bin path

This commit is contained in:
Charles Gould 2024-12-22 23:32:44 -06:00
parent 96be2560c3
commit 2d5c70b3c0

View File

@ -4,11 +4,14 @@ echo "***** INSTALL SHELL *****"
if [ -x "/usr/local/bin/fish" ]; then if [ -x "/usr/local/bin/fish" ]; then
SHELL_PATH="/usr/local/bin/fish" 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 elif [ -x "$HOME/.nix-profile/bin/fish" ]; then
SHELL_PATH="$HOME/.nix-profile/bin/fish" SHELL_PATH="$HOME/.nix-profile/bin/fish"
else else
echo "Cannot set login shell! Tried the following paths:" echo "Cannot set login shell! Tried the following paths:"
echo " - /usr/local/bin/fish" echo " - /usr/local/bin/fish"
echo " - /opt/homebrew/bin/fish"
echo " - $HOME/.nix-profile/bin/fish" echo " - $HOME/.nix-profile/bin/fish"
exit 1 exit 1
fi fi