prezto
prezto copied to clipboard
function definition file not found
Description
Most of the times, when I press "tab" to autocomplete a path, I get this error:
~/P/Q/a/web ❯❯❯ code no...
(eval):1: _code: function definition file not found
(eval):1: _code: function definition file not found
I tried to run rm -fr ~/.zcompdump*
but I always end up getting the same error again.
Expected behavior
The path should be completed correctly.
Actual behavior
See description
Steps to Reproduce
- try to use autocompletion with tab
Versions
- Prezto commit: 4abbc5572149baa6a5e7e38393a4b2006f01024f
- ZSH version: zsh 5.6.2 (x86_64-apple-darwin18.2.0)
- OS information: macOS Mojave
It also happens to me. But it's gone once I removed 'completion' module. Can it be a bug on completion?
I've had this issue which turned out to be caused by the incomplete prezto update. After properly updating, the issue was gone.
Looks like an effect of an incomplete update. Please retry after updating per the instruction and reopen if you still see an issue.