Skip to content

Cwd Changed

Configuration for cwd-changed hooks with path-based command execution.

Commands run when the working directory changes. Observational.

Map of new-cwd patterns to command configurations. Keys are glob patterns matched against the new working directory (e.g., ”*”, “/home/**”).

AttributeValue
Typeobject
Default{}

This section uses the following nested type definitions:

Configuration for individual cwd-changed commands with optional messages.

Properties:

PropertyTypeDefaultDescription
maxOutputLines`integernull`null
message`stringnull`null
notifyPerCommand`booleannull`null
runstring-The shell command to execute
showCommand`booleannull`true
showStderr`booleannull`null
showStdout`booleannull`null
timeout`integernull`null