Docs: unfunction kitty-integration

This commit is contained in:
pagedown
2021-12-24 11:46:08 +08:00
parent b0ccf74029
commit 73ff508b51
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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