From 25e1edf52e92cfca0d81b53180d4b3ea78859ea9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 14 Jan 2022 23:03:44 +0530 Subject: [PATCH] ... --- shell-integration/bash/kitty.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell-integration/bash/kitty.bash b/shell-integration/bash/kitty.bash index fd27caa3c..97e7c2443 100644 --- a/shell-integration/bash/kitty.bash +++ b/shell-integration/bash/kitty.bash @@ -87,7 +87,7 @@ _ksi_main() { builtin local limit # Send all words up to the word the cursor is currently on builtin let limit=1+$COMP_CWORD - src=$(builtin printf "%s\n" "${COMP_WORDS[@]: 0:$limit}" | command kitty +complete bash) + src=$(builtin printf "%s\n" "${COMP_WORDS[@]:0:$limit}" | command kitty +complete bash) if [[ $? == 0 ]]; then builtin eval ${src} fi