summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/pages/hooks.asciidoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/pages/hooks.asciidoc b/doc/pages/hooks.asciidoc
index 8d339d9d..67311868 100644
--- a/doc/pages/hooks.asciidoc
+++ b/doc/pages/hooks.asciidoc
@@ -147,6 +147,11 @@ name. Hooks with no description will always use an empty string.
*SessionRenamed* `<old name>:<new name>`::
executed when a session is renamed using the `rename-session` command
+*EnterDirectory* `path`::
+ executed on startup and when the current working directory is changed
+ using the `change-directory` command. The hook param is an absolute path
+ to the new working directory.
+
*RuntimeError* `error message`::
an error was encountered while executing a user command