Fixed which improperly returning 1 exit code no matter what
This commit is contained in:
parent
bb45fb14bc
commit
385df5d203
@ -6,7 +6,7 @@ required_packages=(universal-ctags fzf ripgrep neovim)
|
|||||||
|
|
||||||
# Handle Installation Per OS
|
# Handle Installation Per OS
|
||||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
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...?"
|
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)"
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user