Files
oh-my-opencode/src/hooks/claude-code-hooks/plugin-config.ts
T

13 lines
330 B
TypeScript
Raw Normal View History

2025-12-09 17:48:28 +09:00
/**
* Plugin configuration for Claude Code hooks execution
* Contains settings for hook command execution (zsh, etc.)
*/
const isWindows = process.platform === "win32"
2025-12-09 17:48:28 +09:00
export const DEFAULT_CONFIG = {
// Windows doesn't have zsh by default, so we disable forceZsh on Windows
forceZsh: !isWindows,
2025-12-09 17:48:28 +09:00
zshPath: "/bin/zsh",
}