Add per-os install scripts

This commit is contained in:
2025-02-15 11:19:21 +02:00
parent 5b0f04c2b6
commit 72e2db0780
2 changed files with 48 additions and 2 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env sh
# Install Brew
if test ! $(which brew); then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> $HOME/.bash_profile.local
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> $ZDOTDIR/.zshrc.local
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
brew update
brew install zsh
sudo chsh -s $(brew --prefix)/bin/zsh
brew bundle --file ./macos/Brewfile
brew bundle --file ./macos/Caskfile