fix(desktop): add .zprofile wrapper to fix terminal PATH on macOS#190
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughReworks zsh and bash wrapper creation in the agent setup: zsh now separates login (.zprofile) and interactive (.zshrc) sourcing without changing ZDOTDIR directly; bash startup sourcing simplified to a uniform conditional sequence while preserving PATH augmentation. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes
Possibly related PRs
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (4)apps/desktop/**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (apps/desktop/AGENTS.md)
Files:
apps/desktop/**/*.{ts,tsx}📄 CodeRabbit inference engine (apps/desktop/AGENTS.md)
Files:
**/*.{ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
apps/desktop/src/main/**/*.{ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧬 Code graph analysis (1)apps/desktop/src/main/lib/agent-setup.ts (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
b44422c to
055c485
Compare
The previous change broke terminal PATH setup because zsh wasn't sourcing ~/.zprofile (where brew sets up PATH on macOS). This adds a .zprofile wrapper that sources the user's real .zprofile before .zshrc runs, ensuring brew/nvm/etc are available in terminals. Also cleans up the bash rcfile wrapper for consistency. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
055c485 to
fdb36a8
Compare
Summary
.zprofilewrapper to source user's~/.zprofile(where brew/nvm set up PATH on macOS)Test plan
which brewandwhich claudeworkwhich -a claudeshows ~/.superset/bin/claude first)🤖 Generated with Claude Code
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.