This commit is contained in:
2023-03-04 14:12:21 -05:00
parent 5a44ebff88
commit 6da046a8e5
2 changed files with 8 additions and 4 deletions

View File

@@ -1,3 +1,6 @@
BREWPATH ?= /opt/homebrew/bin
BREW = $(BREWPATH)/brew
# This does not work inside of a make command. # This does not work inside of a make command.
bootstrap-homebrew: bootstrap-homebrew:
xcode-select --install || true xcode-select --install || true
@@ -5,14 +8,14 @@ bootstrap-homebrew:
chmod -R go-w $(brew --prefix) chmod -R go-w $(brew --prefix)
bootstrap-brews: bootstrap-brews:
@brew bundle \ "$(BREW)" bundle \
--no-lock \ --no-lock \
--cleanup \ --cleanup \
--debug \ --debug \
--file "$(PWD)/macOS/.config/macOS/Brewfile" --file "$(PWD)/macOS/.config/macOS/Brewfile"
bootstrap-casks: bootstrap-casks:
@brew bundle \ "$(BREW)" bundle \
--no-lock \ --no-lock \
--cleanup \ --cleanup \
--debug \ --debug \
@@ -29,7 +32,7 @@ bootstrap-amazon-workdocs:
https://d3f2hupz96ggz3.cloudfront.net/mac/AmazonWorkDocsDrive.pkg https://d3f2hupz96ggz3.cloudfront.net/mac/AmazonWorkDocsDrive.pkg
bootstrap-app-store: bootstrap-app-store:
@brew bundle \ "$(BREW)" bundle \
--no-lock \ --no-lock \
--cleanup \ --cleanup \
--debug \ --debug \
@@ -50,7 +53,7 @@ bootstrap: bootstrap-homebrew bootstrap-brews bootstrap-casks stow bootstrap-non
bootstrap-minimal: bootstrap-homebrew bootstrap-brews bootstrap-minimal: bootstrap-homebrew bootstrap-brews
$(shell "$(PWD)/install") $(shell "$(PWD)/install")
brew install --cask iterm2 "$(BREW)" install --cask iterm2
# make a local zsh configuration file, to extend # make a local zsh configuration file, to extend
# the normal .zshrc for configuration that is only # the normal .zshrc for configuration that is only

View File

@@ -1 +1,2 @@
# Point to where the zsh config is.
export ZDOTDIR="$HOME/.config/zsh" export ZDOTDIR="$HOME/.config/zsh"