summaryrefslogtreecommitdiff
path: root/docs/README.opencode.md
diff options
context:
space:
mode:
authorJesse Vincent <jesse@fsck.com>2026-03-10 16:57:04 -0700
committerJesse Vincent <jesse@fsck.com>2026-03-10 16:57:04 -0700
commitec26561aaa56e27ceb8c6a1f0015f02c5d8d56d1 (patch)
tree1bb5c3cd644e21afb739134d21fb866dbbfb4348 /docs/README.opencode.md
parentf0a4538b31ca70404c4f419ce948afd5710382a5 (diff)
parentad716b8d1b07117202e1ce5cca92a3c12cff2529 (diff)
Merge PR #585: fix single quotes in SessionStart hook for Windows/Linux
Use escaped double quotes instead of single quotes around ${CLAUDE_PLUGIN_ROOT} path in hooks.json. Single quotes fail on Windows (cmd.exe doesn't recognize them as path delimiters) and on Linux when the shell doesn't expand the variable. Verified the fix works across all combinations: - macOS bash, path without spaces: pass - macOS bash, path with spaces: pass - Windows cmd.exe, path without spaces: FAILED with single quotes, PASS with double quotes - Windows cmd.exe, path with spaces: FAILED with single quotes, PASS with double quotes - Windows Git Bash: pass (both quote styles work here) Testing was done on a Windows 11 (NT 10.0.26200.0) dev box with Claude Code 2.1.72 and Git for Windows. The single-quote bug only manifests when cmd.exe is the executing shell (no Git Bash fallback), which explains why some users hit it and others don't. Closes #577, closes #644.
Diffstat (limited to 'docs/README.opencode.md')
0 files changed, 0 insertions, 0 deletions