From 8696554904be27caa59db21fa00d5b69afd478b7 Mon Sep 17 00:00:00 2001 From: Jorge Villalobos Date: Tue, 27 Aug 2024 15:25:21 -0400 Subject: [PATCH] feat(bootstrap): add 1P for Safari, run stow --- README.md | 2 -- scripts/Brewfile | 1 + scripts/Brewfile.lock.json | 8 ++++++-- scripts/bootstrap.sh | 8 ++++++++ 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 18caa7f..b1a5e23 100644 --- a/README.md +++ b/README.md @@ -34,8 +34,6 @@ git clone git@github.com:minusfive/dotfiles.git ~/.dotfiles cd ~/.dotfiles # run bootstrap script to install core tools / apps ./scripts/bootstrap.sh -# run stow to symlink all configuration files -stow -vR . ``` ## To Do diff --git a/scripts/Brewfile b/scripts/Brewfile index 5898276..cff6d6b 100644 --- a/scripts/Brewfile +++ b/scripts/Brewfile @@ -30,3 +30,4 @@ cask 'discord' cask 'gpg-suite' mas 'WhatsApp Messenger', id: 310_633_997 +mas '1Password for Safari', id: 1_569_813_296 diff --git a/scripts/Brewfile.lock.json b/scripts/Brewfile.lock.json index 11509d6..2664205 100644 --- a/scripts/Brewfile.lock.json +++ b/scripts/Brewfile.lock.json @@ -860,14 +860,18 @@ } }, "mas": { - "WhatsApp Messenger": null + "WhatsApp Messenger": null, + "1Password for Safari": { + "id": "1569813296", + "version": "2.27.1" + } } }, "system": { "macos": { "sonoma": { "HOMEBREW_VERSION": "4.3.18", - "HOMEBREW_PREFIX": "/usr/local", + "HOMEBREW_PREFIX": "/opt/homebrew", "Homebrew/homebrew-core": "api", "CLT": "15.3.0.0.1.1708646388", "Xcode": "15.4", diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index e71a162..b9dfe13 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -98,3 +98,11 @@ fi # Update OhMyZsh, plugins and themes zsh $HOME/.oh-my-zsh/tools/upgrade.sh + +# Symlink dotfiles +if [[ $(command -v stow) != "" ]]; then + echo "- GNU Stow found, symlinking dotfiles" + stow -vR . +else + echo "- GNU Stow not found." +fi