diff --git a/docs/shell-integration.rst b/docs/shell-integration.rst index 5343d0ede..545e10f2e 100644 --- a/docs/shell-integration.rst +++ b/docs/shell-integration.rst @@ -253,6 +253,10 @@ that file to be sourced in the cloned window. Similarly, setting run in the cloned window with :code:`eval`. This can be controlled by :opt:`clone_source_strategies`. +:file:`clone-in-kitty` works by asking the shell to serialize its internal +state (mainly CWD and env vars) and this state is transmitted to kitty and +restored by the shell integration scripts in the cloned window. + .. _manual_shell_integration: