[BUG] Windows: Plugin hooks.json files need 'bash' prefix for .sh scripts
Status Closed — duplicate
Maintainer reply None cached
Workaround ✓ Mentioned in description ↑
Activity 3 comments · opened Feb 5, 2026 · closed Feb 9, 2026
Problem
On Windows, plugin hooks with .sh scripts open in VS Code instead of executing (related to #9758).
Affected Plugins
- ralph-wiggum
- learning-output-style
- explanatory-output-style
Fix
Change hooks.json commands from:
\To:
\
Workaround
Users can manually edit the cached hooks.json files in ~/.claude/plugins/cache/ but this gets overwritten on plugin updates.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗