zsh-users / zsh-autosuggestions

Fish-like autosuggestions for zsh
MIT License
30.43k stars 1.85k forks source link

failed to load module `zsh/complistsource' #674

Closed salmin89 closed 2 years ago

salmin89 commented 2 years ago

Describe the bug

To Reproduce

Steps to reproduce the behavior:

% zmodload -i zsh/complistsource ~/PATH_TO_PLUGIN/zsh-autosuggestions/zsh-autosuggestions.zsh

Expected behavior

Screenshots

Desktop

Additional context

Full error message:

/Users/USER/.zshrc:29: failed to load module zsh/complistsource': dlopen(/usr/local/Cellar/zsh/5.8.1/lib/zsh/complistsource.bundle, 9): image not found /Users/USER/.zshrc:29: invalid module name/Users/USER/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh'

Other:

❯ dscl . -read ~ UserShell            
UserShell: /usr/local/bin/zsh

❯ which -a zsh
/usr/local/bin/zsh (installed via brew - v 5.8.1)
/bin/zsh (I think this came pre-installed on the macos. It's not running the latest version. But my terminal is configured to use the one installed by brew)