Docs: Document the env vars set by kitty for auto shell integration

This commit is contained in:
pagedown
2022-04-30 16:54:53 +08:00
parent 6c1f20bb27
commit b9fd039668
2 changed files with 48 additions and 28 deletions

View File

@@ -189,3 +189,21 @@ Variables that kitty sets when running child programs
Set when enabling :ref:`shell_integration`. It is automatically removed by
the shell integration scripts.
.. envvar:: ZDOTDIR
Set when enabling :ref:`shell_integration` with :program:`zsh`, allowing
:program:`zsh` to automatically load the integration script.
.. envvar:: XDG_DATA_DIRS
Set when enabling :ref:`shell_integration` with :program:`fish`, allowing
:program:`fish` to automatically load the integration script.
.. envvar:: ENV
Set when enabling :ref:`shell_integration` with :program:`bash`, allowing
:program:`bash` to automatically load the integration script.