zsh-autocomplete: _main_complete.post:12 command not found and bad file descriptor.
zsh-autocomplete
version: 3a20f699929d1e3a0a9285f3ab3c94b23200fa90- Zsh version: zsh 5.8 (x86_64-apple-darwin20.0)
- Framework: None
- Plugin manager: Znap
# Make sure you always test with the `main` branch.
$ git -C /path/to/zsh-autocomplete switch main
# Update to the latest commit.
$ git -C /path/to/zsh-autocomplete pull
# Create a temp dir and enter it.
$ cd $(mktemp -d)
# Restart Zsh without config files in this dir.
$ ZDOTDIR=$PWD HOME=$PWD exec zsh -f
# Source the plugin.
% source /path/to/zsh-autocomplete/zsh-autocomplete.plugin.zsh
# Test and document the steps that reproduce the problem.
$ ls
$ ls -la
<up-arrow>
Phucs-MacBook-Air% .autocomplete._main_complete:135: command not found: _autocomplete.history_lines
_autocomplete._main_complete.post:12: command not found: _autocomplete.unambiguous
Originally I was preparing to report conflict when using this with zsh-autosuggestions
, but I discover this bug even before sourcing zsh-autosuggestions
.
The original error was:
_zsh_autosuggest_async_request:zle:9: No handler installed for fd 16
$ l
## Every keystroke afterward
.autocomplete.async.complete.fd-widget:26: 16: bad file descriptor
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 21 (17 by maintainers)
Commits related to this issue
- Add smoke testing & autoloading by absolute path Let's see if this can detect/prevent errors like in issue #215. — committed to marlonrichert/zsh-autocomplete by marlonrichert 3 years ago
Ok either I’m stupid or what but:
So … I don’t know, probably something to do with the cache. Sorry for wasting your time and thank for your help. Maybe you can add the remove cache command to the reproducible template.