Skip to content

Improve macOS first-run defaults - #16

Merged
amanjaiman merged 4 commits into
mainfrom
codex/macos-first-run-fixes
Jul 8, 2026
Merged

Improve macOS first-run defaults#16
amanjaiman merged 4 commits into
mainfrom
codex/macos-first-run-fixes

Conversation

@amanjaiman

Copy link
Copy Markdown
Owner

Summary

  • Fall back to the PTY backend when tmux is missing and the user did not explicitly request tmux
  • Teach install to persist PATH updates in macOS/Linux shell profiles
  • Update docs and add focused tests for the first-run behavior

Tests

  • go test ./...

amanjaiman and others added 4 commits July 7, 2026 21:32
- Write to ~/.bashrc for bash on Linux (interactive non-login shells
  never read ~/.profile, and ~/.bash_profile preempts it for login
  shells), and skip profile writes for unrecognized shells like fish
  where an export line would be wrong or unread
- Only treat an uncommented profile line mentioning the install dir as
  existing PATH coverage
- Drop README references to the removed --daemon, --watch-only, and
  --no-auto-detach flags

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Some users may not want install touching dotfiles at all; --no-profile
falls back to the printed export/setx line instead.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@amanjaiman
amanjaiman merged commit 3a14e55 into main Jul 8, 2026
4 checks passed
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