mirror of
https://github.com/GeorgeSG/dotfiles.git
synced 2026-09-02 23:58:45 +00:00
18 lines
516 B
Bash
Executable File
18 lines
516 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
# Install Brew
|
|
if ! command -v brew &>/dev/null; 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
|