Prompt shell
Replace highlighted brackets, then copy.
Create a PreToolUse hook that logs Bash commands to [log file].
How to use
log file- replace the bracketed field with your info
Provide (Inputs)
- Log file path
Expected output (Outputs)
- Hook config
Tips
- Use /hooks to register the hook.