...
This commit is contained in:
parent
4476251b76
commit
b01ad4bb3b
@ -121,19 +121,16 @@ Variables that kitty sets when running child programs
|
|||||||
This is only set on macOS. If the country and language from the macOS user
|
This is only set on macOS. If the country and language from the macOS user
|
||||||
settings form an invalid locale, it will be set to :code:`en_US.UTF-8`.
|
settings form an invalid locale, it will be set to :code:`en_US.UTF-8`.
|
||||||
|
|
||||||
|
|
||||||
.. envvar:: PATH
|
.. envvar:: PATH
|
||||||
|
|
||||||
kitty prepends itself to the PATH of its own environment to ensure the
|
kitty prepends itself to the PATH of its own environment to ensure the
|
||||||
functions calling :program:`kitty` will work properly.
|
functions calling :program:`kitty` will work properly.
|
||||||
|
|
||||||
|
|
||||||
.. envvar:: KITTY_WINDOW_ID
|
.. envvar:: KITTY_WINDOW_ID
|
||||||
|
|
||||||
An integer that is the id for the kitty :term:`window` the program is running in.
|
An integer that is the id for the kitty :term:`window` the program is running in.
|
||||||
Can be used with the :doc:`kitty remote control facility <remote-control>`.
|
Can be used with the :doc:`kitty remote control facility <remote-control>`.
|
||||||
|
|
||||||
|
|
||||||
.. envvar:: KITTY_PID
|
.. envvar:: KITTY_PID
|
||||||
|
|
||||||
An integer that is the process id for the kitty process in which the program
|
An integer that is the process id for the kitty process in which the program
|
||||||
@ -150,7 +147,6 @@ Variables that kitty sets when running child programs
|
|||||||
Path to a UNIX domain socket used to avoid Python interpreter startup
|
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
|
.. envvar:: KITTY_PREWARM_SOCKET_REAL_TTY
|
||||||
|
|
||||||
Path to the the PTY used to run the prewarmed process in when using
|
Path to the the PTY used to run the prewarmed process in when using
|
||||||
@ -161,28 +157,23 @@ Variables that kitty sets when running child programs
|
|||||||
The id for the :term:`OS Window <os_window>` the program is running in. Only available
|
The id for the :term:`OS Window <os_window>` the program is running in. Only available
|
||||||
on platforms that have ids for their windows, such as X11 and macOS.
|
on platforms that have ids for their windows, such as X11 and macOS.
|
||||||
|
|
||||||
|
|
||||||
.. envvar:: TERM
|
.. envvar:: TERM
|
||||||
|
|
||||||
The name of the terminal, defaults to ``xterm-kitty``. See :opt:`term`.
|
The name of the terminal, defaults to ``xterm-kitty``. See :opt:`term`.
|
||||||
|
|
||||||
|
|
||||||
.. envvar:: TERMINFO
|
.. envvar:: TERMINFO
|
||||||
|
|
||||||
Path to a directory containing the kitty terminfo database.
|
Path to a directory containing the kitty terminfo database.
|
||||||
|
|
||||||
|
|
||||||
.. envvar:: KITTY_INSTALLATION_DIR
|
.. envvar:: KITTY_INSTALLATION_DIR
|
||||||
|
|
||||||
Path to the kitty installation directory.
|
Path to the kitty installation directory.
|
||||||
|
|
||||||
|
|
||||||
.. envvar:: COLORTERM
|
.. envvar:: COLORTERM
|
||||||
|
|
||||||
Set to the value ``truecolor`` to indicate that kitty supports 16 million
|
Set to the value ``truecolor`` to indicate that kitty supports 16 million
|
||||||
colors.
|
colors.
|
||||||
|
|
||||||
|
|
||||||
.. envvar:: KITTY_LISTEN_ON
|
.. envvar:: KITTY_LISTEN_ON
|
||||||
|
|
||||||
Set when the :doc:`remote control <remote-control>` facility is enabled and
|
Set when the :doc:`remote control <remote-control>` facility is enabled and
|
||||||
@ -190,45 +181,38 @@ Variables that kitty sets when running child programs
|
|||||||
Contains the path to the socket. Avoid the need to use :option:`kitty @ --to` when
|
Contains the path to the socket. Avoid the need to use :option:`kitty @ --to` when
|
||||||
issuing remote control commands.
|
issuing remote control commands.
|
||||||
|
|
||||||
|
|
||||||
.. envvar:: KITTY_PIPE_DATA
|
.. envvar:: KITTY_PIPE_DATA
|
||||||
|
|
||||||
Set to data describing the layout of the screen when running child
|
Set to data describing the layout of the screen when running child
|
||||||
programs using :option:`launch --stdin-source` with the contents of the
|
programs using :option:`launch --stdin-source` with the contents of the
|
||||||
screen/scrollback piped to them.
|
screen/scrollback piped to them.
|
||||||
|
|
||||||
|
|
||||||
.. envvar:: KITTY_CHILD_CMDLINE
|
.. envvar:: KITTY_CHILD_CMDLINE
|
||||||
|
|
||||||
Set to the command line of the child process running in the kitty
|
Set to the command line of the child process running in the kitty
|
||||||
window when calling the notification callback program on terminal bell, see
|
window when calling the notification callback program on terminal bell, see
|
||||||
:opt:`command_on_bell`.
|
:opt:`command_on_bell`.
|
||||||
|
|
||||||
|
|
||||||
.. envvar:: KITTY_COMMON_OPTS
|
.. envvar:: KITTY_COMMON_OPTS
|
||||||
|
|
||||||
Set with the values of some common kitty options when running
|
Set with the values of some common kitty options when running
|
||||||
kittens, so kittens can use them without needing to load :file:`kitty.conf`.
|
kittens, so kittens can use them without needing to load :file:`kitty.conf`.
|
||||||
|
|
||||||
|
|
||||||
.. envvar:: KITTY_SHELL_INTEGRATION
|
.. envvar:: KITTY_SHELL_INTEGRATION
|
||||||
|
|
||||||
Set when enabling :ref:`shell_integration`. It is automatically removed by
|
Set when enabling :ref:`shell_integration`. It is automatically removed by
|
||||||
the shell integration scripts.
|
the shell integration scripts.
|
||||||
|
|
||||||
|
|
||||||
.. envvar:: ZDOTDIR
|
.. envvar:: ZDOTDIR
|
||||||
|
|
||||||
Set when enabling :ref:`shell_integration` with :program:`zsh`, allowing
|
Set when enabling :ref:`shell_integration` with :program:`zsh`, allowing
|
||||||
:program:`zsh` to automatically load the integration script.
|
:program:`zsh` to automatically load the integration script.
|
||||||
|
|
||||||
|
|
||||||
.. envvar:: XDG_DATA_DIRS
|
.. envvar:: XDG_DATA_DIRS
|
||||||
|
|
||||||
Set when enabling :ref:`shell_integration` with :program:`fish`, allowing
|
Set when enabling :ref:`shell_integration` with :program:`fish`, allowing
|
||||||
:program:`fish` to automatically load the integration script.
|
:program:`fish` to automatically load the integration script.
|
||||||
|
|
||||||
|
|
||||||
.. envvar:: ENV
|
.. envvar:: ENV
|
||||||
|
|
||||||
Set when enabling :ref:`shell_integration` with :program:`bash`, allowing
|
Set when enabling :ref:`shell_integration` with :program:`bash`, allowing
|
||||||
|
|||||||
@ -223,7 +223,7 @@ Used if no :option:`kitty @ --password` is supplied. Defaults to checking for th
|
|||||||
default=KITTY_RC_PASSWORD
|
default=KITTY_RC_PASSWORD
|
||||||
The name of an environment variable to read the password from.
|
The name of an environment variable to read the password from.
|
||||||
Used if no :option:`kitty @ --password-file` is supplied. Defaults
|
Used if no :option:`kitty @ --password-file` is supplied. Defaults
|
||||||
to checking the KITTY_RC_PASSWORD.
|
to checking the :envvar:`KITTY_RC_PASSWORD`.
|
||||||
|
|
||||||
|
|
||||||
--use-password
|
--use-password
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user