Fix interactive completion with zsh-autocomplete

This commit is contained in:
Aaron Kollasch 2022-09-03 00:42:11 -04:00
parent 0e21153107
commit 0c6a8687b5
No known key found for this signature in database
GPG Key ID: F813CAE853E39883
1 changed files with 4 additions and 0 deletions

View File

@ -112,6 +112,10 @@ if [[ -o zle ]]; then
else else
__zoxide_result='' __zoxide_result=''
fi fi
if [[ -v functions[.autocomplete._complete] ]]; then
# zsh-autocomplete needs a match or it will run __zoxide_z_complete multiple times
compadd ""
fi
\builtin printf '\e[5n' \builtin printf '\e[5n'
fi fi
} }