1
mirror of https://github.com/jakejarvis/dotfiles.git synced 2025-04-26 03:45:21 -04:00

Update macos.sh

This commit is contained in:
Jake Jarvis 2021-01-12 13:49:41 -05:00 committed by GitHub
parent 61954c875c
commit c4013f2ebc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,11 @@ fi
# Make sure macOS is fully up to date before doing anything
sudo softwareupdate --install --all
# Install Xcode Command Line Tools
sudo xcode-select --install
# Accept Xcode license
sudo xcodebuild -license accept
# This whole thing kinda hinges on having Homebrew...
# Check for it and install from GitHub if it's not there
# shellcheck disable=SC2230
@ -26,11 +31,6 @@ brew update
brew tap homebrew/bundle
brew bundle
# Install Xcode Command Line Tools
sudo xcode-select --install
# Accept Xcode license
sudo xcodebuild -license accept
# Set macOS defaults
# Needs to be last since this will restart everything when done
# shellcheck disable=SC1091