Skip to content

fix: always clean helper symlink on uninstall#8

Merged
bicabone merged 2 commits into
mainfrom
fix/uninstall-always-clean-helper-symlink
Mar 3, 2026
Merged

fix: always clean helper symlink on uninstall#8
bicabone merged 2 commits into
mainfrom
fix/uninstall-always-clean-helper-symlink

Conversation

@bicabone

@bicabone bicabone commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Uninstall now always removes the temporal.zsh helper symlink, not just when --full is passed
  • Prevents dangling symlinks that cause no such file or directory errors on shell reload

Changes

  • Removed --full gate around helper symlink cleanup in uninstall.sh
  • Added tests/uninstall_test.sh with coverage for default, --purge-config, and --full uninstall modes

🤖 Generated with Claude Code

bicabone and others added 2 commits March 3, 2026 12:34
The temporal.zsh helper symlink was only removed when --full was passed
to uninstall.sh, leaving a dangling symlink after normal uninstalls.
Now it's always cleaned up if it points to temporalctx.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@bicabone bicabone merged commit 21a7ca7 into main Mar 3, 2026
1 check 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