From a9da57d9b330673d3ad37952cc3f5fe7e1f6a0c7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 1 Feb 2023 19:27:39 +0530 Subject: [PATCH] Forgot to use builtin for alias --- shell-integration/bash/kitty.bash | 2 +- shell-integration/zsh/kitty-integration | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shell-integration/bash/kitty.bash b/shell-integration/bash/kitty.bash index 9d8ef23b2..1084299e4 100644 --- a/shell-integration/bash/kitty.bash +++ b/shell-integration/bash/kitty.bash @@ -209,7 +209,7 @@ _ksi_main() { _ksi_prompt[ps0]+="\[\e]133;C\a\]" fi - alias edit-in-kitty="kitten edit-in-kitty" + builtin alias edit-in-kitty="kitten edit-in-kitty" if [[ "${_ksi_prompt[complete]}" == "y" ]]; then _ksi_completions() { diff --git a/shell-integration/zsh/kitty-integration b/shell-integration/zsh/kitty-integration index bace0e38a..b6fe29fae 100644 --- a/shell-integration/zsh/kitty-integration +++ b/shell-integration/zsh/kitty-integration @@ -386,7 +386,7 @@ _ksi_deferred_init() { fi builtin unset KITTY_IS_CLONE_LAUNCH KITTY_CLONE_SOURCE_STRATEGIES - alias edit-in-kitty="kitten edit-in-kitty" + builtin alias edit-in-kitty="kitten edit-in-kitty" # Map alt+left/right to move by word if not already mapped. This is expected behavior on macOS and I am tired # of answering questions about it.