From 59505d17d58f2c844c96ca5a6d8e29966a5289dd Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 23 Dec 2021 20:18:16 +0530 Subject: [PATCH] Update docs for new zsh integration code --- docs/shell-integration.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/shell-integration.rst b/docs/shell-integration.rst index 4c8eb6393..3ea921cfb 100644 --- a/docs/shell-integration.rst +++ b/docs/shell-integration.rst @@ -160,7 +160,7 @@ code used for each shell below: .. tab:: zsh - .. literalinclude:: ../shell-integration/zsh/kitty.zsh + .. literalinclude:: ../shell-integration/zsh/kitty-integration :language: zsh @@ -212,7 +212,8 @@ Then in your shell's rc file, add the lines: if test -n "$KITTY_INSTALLATION_DIR"; then 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 .. tab:: fish