Skip to content

fix(install): make PATH warning prominent after install#56

Merged
MrFlounder merged 1 commit intomainfrom
fix/install-path-warning
Mar 11, 2026
Merged

fix(install): make PATH warning prominent after install#56
MrFlounder merged 1 commit intomainfrom
fix/install-path-warning

Conversation

@MrFlounder
Copy link
Contributor

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

After install, users see "command not found" because ~/.local/bin
isn't in their current shell's PATH. The previous message buried the
required `source` step in generic text. Now shows a visible warning
box with the exact command to run, and auto-detects the correct
shell profile path.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@MrFlounder MrFlounder merged commit 22cd4e5 into main Mar 11, 2026
5 checks passed
@MrFlounder MrFlounder deleted the fix/install-path-warning branch March 11, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant