Ensured stderr doesn't get output from which when detecting brew
This commit is contained in:
parent
204d95558b
commit
a7540661a2
@ -6,7 +6,7 @@ required_packages=(universal-ctags fzf ripgrep neovim)
|
||||
|
||||
# Handle Installation Per OS
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
if ! which brew; then
|
||||
if ! $(which brew) 2>/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
|
||||
|
Loading…
Reference in New Issue
Block a user