We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5592506 commit c9183ceCopy full SHA for c9183ce
templates/zsh.txt
@@ -103,7 +103,10 @@ if [[ -o zle ]]; then
103
# Show completions for Space-Tab.
104
# shellcheck disable=SC2086
105
__zoxide_result="$(\command zoxide query --exclude "$(__zoxide_pwd || \builtin true)" --interactive -- ${words[2,-1]})" || __zoxide_result=''
106
- # Sends '\e[0n' to console input.
+
107
+ # Bind '\e[0n' to helper function.
108
+ \builtin bindkey '\e[0n' '__zoxide_z_complete_helper'
109
+ # Send '\e[0n' to console input.
110
\builtin printf '\e[5n'
111
fi
112
@@ -124,7 +127,6 @@ if [[ -o zle ]]; then
124
127
}
125
128
\builtin zle -N __zoxide_z_complete_helper
126
129
- \builtin bindkey '\e[0n' '__zoxide_z_complete_helper'
130
[[ "${+functions[compdef]}" -ne 0 ]] && \compdef __zoxide_z_complete {{ cmd }}
131
132
0 commit comments