Skip to content

fix(uninstall): remove statusline nudge flag - #680

Open
l2yujw wants to merge 1 commit into
DietrichGebert:mainfrom
l2yujw:fix/uninstall-nudge-flag
Open

fix(uninstall): remove statusline nudge flag#680
l2yujw wants to merge 1 commit into
DietrichGebert:mainfrom
l2yujw:fix/uninstall-nudge-flag

Conversation

@l2yujw

@l2yujw l2yujw commented Aug 3, 2026

Copy link
Copy Markdown

Summary

The uninstall script removes Ponytail's active-mode flag and configuration, but leaves this internal marker behind:

~/.claude/.ponytail-statusline-nudged

This marker suppresses the one-time status-line setup notice. After uninstalling and later reinstalling Ponytail, a clean installation can therefore skip the notice even when no Ponytail status line is configured.

This PR removes the marker during uninstall and extends the uninstall regression test to cover it.

Root cause

hooks/ponytail-activate.js creates .ponytail-statusline-nudged, but scripts/uninstall.js did not include it in Ponytail-owned state cleanup.

Fix

Delete .ponytail-statusline-nudged alongside .ponytail-active.

The existing configuration and combined-status-line cleanup behavior is unchanged.

Verification

node --test tests/uninstall.test.js
npm test
git diff --check

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