Fix unfunctioning ofkitty-integration in docs

It has to be unfunctioned after being run once
This commit is contained in:
Kovid Goyal 2021-12-24 10:26:02 +05:30
parent a7e03f9c63
commit 872cd7b2d5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -213,6 +213,7 @@ Then in your shell's rc file, add the lines:
if test -n "$KITTY_INSTALLATION_DIR"; then
export KITTY_SHELL_INTEGRATION="enabled"
autoload -Uz -- "$KITTY_INSTALLATION_DIR"/shell-integration/zsh/kitty-integration
kitty-integration
unfunction kitty-integration
fi