Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/cli/hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Not ready: 0
openclaw hooks enable <name>
```

Enable a specific hook by adding it to your config (`~/.openclaw/config.json`).
Enable a specific hook by adding it to your config (`~/.openclaw/openclaw.json`).

**Note:** Workspace hooks are disabled by default until enabled here or in config. Hooks managed by plugins show `plugin:<id>` in `openclaw hooks list` and can’t be enabled/disabled here. Enable/disable the plugin instead.

Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/cli/hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Not ready: 0
openclaw hooks enable <name>
```

通过将特定钩子添加到配置(`~/.openclaw/config.json`)来启用它。
通过将特定钩子添加到配置(`~/.openclaw/openclaw.json`)来启用它。

**注意:** 由插件管理的钩子在 `openclaw hooks list` 中显示 `plugin:<id>`
无法在此处启用/禁用。请改为启用/禁用该插件。
Expand Down