Add docs on how to use shell integration inside a container

This commit is contained in:
Kovid Goyal
2023-09-01 19:09:58 +05:30
parent 37938573ca
commit f1ba9f45bc

View File

@@ -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
<https://github.com/kovidgoyal/kitty/releases/latest/download/kitten-linux-amd64>`__ 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