Commit 22cd4e5
fix(install): make PATH warning prominent after install (#56)
## Summary
- After install, users see `crab: command not found` because
`~/.local/bin` isn't in their current shell's PATH
- The previous post-install message buried the required `source
~/.zshrc` step in generic text that was easy to miss
- Now shows a visible warning box with the exact shell profile to
source, auto-detected for zsh/bash/other shells
- Skips the warning entirely if PATH is already configured (e.g.
re-install)
## Test plan
- [ ] Run `install.sh` in a clean environment where `~/.local/bin` is
not in PATH — verify the yellow warning box appears with the correct
profile path
- [ ] Run `install.sh` where `~/.local/bin` is already in PATH — verify
no warning box, just "Get started:"
- [ ] Test on both zsh and bash shells to confirm correct profile
detection
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 1c21b02 commit 22cd4e5
1 file changed
+31
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
217 | 242 | | |
218 | | - | |
| |||
0 commit comments