support codespaces

This commit is contained in:
2022-05-15 10:27:13 -04:00
parent 52a48280e7
commit 0dc947fc72
5 changed files with 75 additions and 50 deletions
+6
View File
@@ -7,6 +7,9 @@ if test ! "$(uname)" = "Darwin"; then
exit 0
fi
# Ask for the administrator password upfront
sudo -v
# Make sure macOS is fully up to date before doing anything
sudo softwareupdate --install --all
@@ -25,6 +28,9 @@ if test ! "$(which brew)"; then
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
# fix zplug
ln -s "$(brew --prefix)/opt/zplug" ~/.zplug
# Disable analytics
# https://docs.brew.sh/Analytics
brew analytics off