Add VSCode, Claude Code CLI auto-install and fix bugs

- Add VSCode (brew cask), Node.js, Claude Code CLI (npm) installation
- Add VSCode Claude extension auto-install with code CLI fallback
- Fix save_configs.sh missing RECTANGLE_SETTINGS_DIR variable
- Fix Rectangle config: support both plist and JSON (RectangleConfig.json)
- Fix ZSH plugin paths for Intel Mac using $(brew --prefix)
- Fix iTerm2 Dynamic Profile JSON assembly (safe wrapping)
- Fix GUID extraction regex for flexible whitespace
- Fix set -e compatibility for plutil failure handling
- Add mkdir -p for Stats settings dir in save_configs.sh
- Add vim swap file patterns to .gitignore
- Update README.md with Claude Code docs, checklist, troubleshooting
- Simplify iTerm2 launch logic

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
csbae-macbook
2026-03-04 13:55:55 +09:00
co-authored by Claude Opus 4.6
parent 443d65d912
commit 51cde642d9
4 changed files with 168 additions and 74 deletions
+2
View File
@@ -7,6 +7,7 @@
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ITERM_SETTINGS_DIR="$SCRIPT_DIR/iterm2-settings"
STATS_SETTINGS_DIR="$SCRIPT_DIR/stats-settings"
RECTANGLE_SETTINGS_DIR="$SCRIPT_DIR/rectangle-settings"
echo "📦 현재 설정을 저장합니다..."
echo ""
@@ -34,6 +35,7 @@ echo ""
# Stats 설정 저장
if [ -f "$HOME/Library/Preferences/eu.exelban.Stats.plist" ]; then
echo "📊 Stats 설정 저장 중..."
mkdir -p "$STATS_SETTINGS_DIR"
cp "$HOME/Library/Preferences/eu.exelban.Stats.plist" \
"$STATS_SETTINGS_DIR/Stats.plist"
echo "✅ Stats 설정 저장 완료"