summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAjeet D'Souza <98ajeet@gmail.com>2024-05-06 10:47:50 +0530
committerAjeet D'Souza <98ajeet@gmail.com>2024-05-06 10:47:50 +0530
commit1cb6312fb2a770adc428ae830683489b24c9eadf (patch)
treefd40c9c0bd94cb3169b220ef04346284b6b194b7
parent801d5e2f223580d5c9c78333e01a1fee162d3bab (diff)
Return 0 only for Space+Tab
-rw-r--r--templates/zsh.txt8
1 files 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() {