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