Skip to content

fix(shell): use installation status for activation advice - #4343

Merged
max-sixty merged 4 commits into
mainfrom
codex/shell-activation-advice
Oct 10, 2026
Merged

max-sixty merged 4 commits into
mainfrom
codex/shell-activation-advice

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

Merge and remove recommend restarting when the current shell's integration is installed but inactive, and installation when it is missing or outdated. The installer’s existing scan now also owns the installed-state checks used by warnings and first-run advice; the separate detector is removed. This handles current fish and Nushell wrappers and recognizes legacy fish integration as needing migration.

Completion-file inspection belongs to installation planning. An unreadable completion path no longer makes an installed wrapper appear absent or prevents config status reporting. Installation retains completion previews and preserves a file created after confirmation was shown.

Validation: actual Claude full review found no material code downsides. Real-command and PTY regressions cover current versus login shell, legacy/current fish, Nushell, missing/directory completion paths, accepted installation, and completion-file races. The full project gate passed: 5,205 tests passed and one skipped, with Clippy, formatting, documentation, lockfile and doctest checks passing.

This was written by Codex on behalf of max-sixty

@max-sixty max-sixty changed the title fix(shell): match removal advice to current shell installation fix(shell): use installation status for activation advice Oct 10, 2026
@max-sixty
max-sixty merged commit 160071d into main Oct 10, 2026
38 checks passed
@max-sixty
max-sixty deleted the codex/shell-activation-advice branch October 10, 2026 22:27
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.

2 participants