mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 17:52:02 +02:00
Add docs on how to use shell integration inside a container
This commit is contained in:
@@ -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.
|
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_shell:
|
||||||
|
|
||||||
Clone the current shell into a new window
|
Clone the current shell into a new window
|
||||||
|
|||||||
Reference in New Issue
Block a user