From 1cb6312fb2a770adc428ae830683489b24c9eadf Mon Sep 17 00:00:00 2001 From: Ajeet D'Souza <98ajeet@gmail.com> Date: Mon, 6 May 2024 10:47:50 +0530 Subject: [PATCH] Return 0 only for Space+Tab --- templates/zsh.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/zsh.txt b/templates/zsh.txt index b51bd9b..a8f7349 100644 --- a/templates/zsh.txt +++ b/templates/zsh.txt @@ -112,11 +112,11 @@ if [[ -o zle ]]; then \builtin bindkey '\e[0n' '__zoxide_z_complete_helper' # Sends query device status code, which results in a '\e[0n' being sent to console input. \builtin printf '\e[5n' - fi - # Report that the completion was successful, so that we don't fall back - # to another completion function. - return 0 + # Report that the completion was successful, so that we don't fall back + # to another completion function. + return 0 + fi } function __zoxide_z_complete_helper() {