Skip to content

Commit

Permalink
Return 0 only for Space+Tab
Browse files Browse the repository at this point in the history
  • Loading branch information
ajeetdsouza committed May 6, 2024
1 parent 801d5e2 commit 1cb6312
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/zsh.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 1cb6312

Please sign in to comment.