Update how it works for zsh integration

In light of the recent changes by @romkatv
This commit is contained in:
Kovid Goyal 2021-12-21 10:44:45 +05:30
parent f71e0a6ee8
commit 58b7fb41d9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -125,9 +125,9 @@ different shells.
.. tab:: zsh .. tab:: zsh
For zsh, kitty sets the ``ZDOTDIR`` environment variable to make zsh load For zsh, kitty sets the ``ZDOTDIR`` environment variable to make zsh load
kitty's :file:`.zshenv` which in turn loads the shell integration code then kitty's :file:`.zshenv` which restores the original value of ``ZDOTDIR``
restores the original value of ``ZDOTDIR`` and finally sources the original and sources the original :file:`.zshenv`. It then loads the shell integration code.
:file:`.zshenv`. The remainder of zsh's startup process proceeds as normal. The remainder of zsh's startup process proceeds as normal.
.. tab:: bash .. tab:: bash