From f1ba9f45bcbc7e65eec4b5ee1766ad108e812c08 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 1 Sep 2023 19:09:58 +0530 Subject: [PATCH] Add docs on how to use shell integration inside a container --- docs/shell-integration.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/shell-integration.rst b/docs/shell-integration.rst index 831926a83..a5750055a 100644 --- a/docs/shell-integration.rst +++ b/docs/shell-integration.rst @@ -222,6 +222,18 @@ shell integration. Alternately, you can :ref:`setup shell integration manually the remote server and editing the shell rc files there, as described below. +Shell integration in a container +---------------------------------- + +Install the kitten `standalone binary +`__ in the container +somewhere in the PATH, then you can log into the container with: + +.. code-block:: sh + + docker exec -ti container-id kitten run-shell --shell=/path/to/your/shell/in/the/container + + .. _clone_shell: Clone the current shell into a new window