For running the new code KITTY_PREWARM_SOCKET needs to be dropped

This commit is contained in:
pagedown 2022-08-18 17:06:07 +08:00
parent b01ad4bb3b
commit 040ff0cc9d
No known key found for this signature in database
GPG Key ID: E921CF18AC8FF6EB
2 changed files with 6 additions and 1 deletions

View File

@ -23,6 +23,10 @@ following dependencies are installed first.
should use a version of the source that matches the binary version as closely
as possible, since the two are tightly coupled.
You may need to unset the :envvar:`KITTY_PREWARM_SOCKET` environment variable,
otherwise your modified code will not be executed, when running some of the
``kitty +`` and ``kitty @`` commands.
Dependencies
----------------

View File

@ -145,7 +145,8 @@ Variables that kitty sets when running child programs
.. envvar:: KITTY_PREWARM_SOCKET
Path to a UNIX domain socket used to avoid Python interpreter startup
latency when running kittens, or remote control or using kitty +launch or kitty +runpy.
latency when running kittens, or remote control or using ``kitty +launch`` or
``kitty +runpy``.
.. envvar:: KITTY_PREWARM_SOCKET_REAL_TTY