Update docs for new zsh integration code

This commit is contained in:
Kovid Goyal 2021-12-23 20:18:16 +05:30
parent bcecc61b67
commit 59505d17d5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -160,7 +160,7 @@ code used for each shell below:
.. tab:: zsh .. tab:: zsh
.. literalinclude:: ../shell-integration/zsh/kitty.zsh .. literalinclude:: ../shell-integration/zsh/kitty-integration
:language: zsh :language: zsh
@ -212,7 +212,8 @@ Then in your shell's rc file, add the lines:
if test -n "$KITTY_INSTALLATION_DIR"; then if test -n "$KITTY_INSTALLATION_DIR"; then
export KITTY_SHELL_INTEGRATION="enabled" export KITTY_SHELL_INTEGRATION="enabled"
source "$KITTY_INSTALLATION_DIR/shell-integration/zsh/kitty.zsh" autoload -Uz -- "$KITTY_INSTALLATION_DIR"/shell-integration/zsh/kitty-integration
kitty-integration
fi fi
.. tab:: fish .. tab:: fish