From 73ff508b51ee26c8274e12e0620cfe7e7a176c8a Mon Sep 17 00:00:00 2001 From: pagedown Date: Fri, 24 Dec 2021 11:46:08 +0800 Subject: [PATCH] Docs: unfunction kitty-integration --- docs/shell-integration.rst | 2 +- shell-integration/zsh/kitty-integration | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/shell-integration.rst b/docs/shell-integration.rst index 3ea921cfb..c540b2286 100644 --- a/docs/shell-integration.rst +++ b/docs/shell-integration.rst @@ -213,7 +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 .. tab:: fish diff --git a/shell-integration/zsh/kitty-integration b/shell-integration/zsh/kitty-integration index 4ad33d4b2..caf04de54 100644 --- a/shell-integration/zsh/kitty-integration +++ b/shell-integration/zsh/kitty-integration @@ -10,6 +10,7 @@ # Kitty in all shells should add the following lines to their .zshrc: # # if [[ -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