dotfiles/dot_scripts/install_homebrew.sh
MorganGeek 228982a0a8 add linters and refactor bootstraping scripts
- giant refactoring
- add aliases and functions to ease work
- apply linters / fixers / fmt to most files
2020-07-11 12:31:06 +02:00

13 lines
376 B
Bash

#!/usr/bin/env bash
# Install HomeBrew
case "$(uname -s)" in
Darwin)
echo "(Mac OS X) installing homebrew"
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Prevent `Error: Your Homebrew is outdated. Please run `brew update`.`
echo "Updating Homebrew"
brew update
;;
esac