marlonrichert / zsh-autocomplete

🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
MIT License
5.4k stars 150 forks source link

Error: autocomplete:_expand:old:17: command not found: _autocomplete__is_glob #743

Open kthakk4 opened 4 months ago

kthakk4 commented 4 months ago

Environment

typeset VENDOR=apple typeset OSTYPE=darwin23.0 typeset ZSH_PATCHLEVEL=zsh-5.9-0-g73d3173 typeset -a _autocomplete__funcfiletrace=( /usr/local/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh:4 /Users//.zshrc:2 zsh:0 )

Issue

When using tab complete, I see four lines of command not found errors followed by correctly tab completed command (see screenshot). I installed zsh-autocomplete using homebrew and have insured that my .zshrc calls source in the very first line. This issue only happens on a single machine and I am not able to reproduce it on any other machines. I have attempted a clean reinstall (brew uninstall, brew auto remove, and then brew install) without any success. I'd really appreciate any hints on how I can debug/solve this - while the tab complete is technically working, it's really annoying to see three lines of error everytime I use it.

image
jack-margeson commented 4 months ago

I am receiving a similar error regarding python3-argcomplete.

Operating system: Arch Linux x86_64 Terminal: terminator 2.1.4

My output, after double tapping tab to autocomplete, is as follows: (eval):1: _python-argcomplete: function definition file not found This outputs several times before autocompleting.

ZekeriyaAY commented 2 months ago

I fixed this problem with run zplug load command. Also mine autocomplete plugin is local out of date. But I can't update with zplug update. Now, plugin is out of date but works.