fix: soft-fail brew bundle install; update .gitignore
lib/brew.sh: brew bundle exits non-zero when any single package fails (network error, cask version mismatch, missing tap, etc.). Previously this killed the entire ssr restore via set -euo pipefail before mackup / defaults / prefs had a chance to run. Capture the exit code, emit a clear warning, and continue. The user can rerun the manual command shown in the warning. .gitignore: Replace minimal gitignore with the comprehensive macOS + Cursor + VSCode template generated by toptal gitignore.io. Preserve the original ssr- specific custom rules (.local/, .config/, *.log, *.plist.local) in the custom section at the bottom. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -60,3 +60,11 @@ Temporary Items
|
||||
|
||||
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
|
||||
|
||||
# ssr — user-local state and config (never commit)
|
||||
.local/
|
||||
.config/
|
||||
*.log
|
||||
|
||||
# User-rendered launchd plist (template lives in launchd/)
|
||||
*.plist.local
|
||||
|
||||
|
||||
Reference in New Issue
Block a user