Fixed which improperly returning 1 exit code no matter what

This commit is contained in:
Price Hiller 2021-12-25 01:42:16 -06:00
parent bb45fb14bc
commit 385df5d203

View File

@ -6,7 +6,7 @@ required_packages=(universal-ctags fzf ripgrep neovim)
# Handle Installation Per OS
if [[ "$OSTYPE" == "darwin"* ]]; then
if ! $(which brew) 2>/dev/null; then
if ! which brew 2>&1 1>/dev/null; then
echo "Installing brew, why the fuck aren't you using it...?"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi