prezto icon indicating copy to clipboard operation
prezto copied to clipboard

function definition file not found

Open FezVrasta opened this issue 5 years ago • 1 comments

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

  1. 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

FezVrasta avatar Feb 06 '19 13:02 FezVrasta

It also happens to me. But it's gone once I removed 'completion' module. Can it be a bug on completion?

msilvestre avatar Nov 06 '19 13:11 msilvestre

I've had this issue which turned out to be caused by the incomplete prezto update. After properly updating, the issue was gone.

phearnot avatar Aug 23 '23 08:08 phearnot

Looks like an effect of an incomplete update. Please retry after updating per the instruction and reopen if you still see an issue.

indrajitr avatar Sep 15 '23 05:09 indrajitr