Return 0 only for Space+Tab

This commit is contained in:
Ajeet D'Souza 2024-05-06 10:47:50 +05:30
parent 801d5e2f22
commit 1cb6312fb2

View File

@ -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() {