-
-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
command not found: .autocomplete.__init_ #287
Comments
I don't test with Zsh < 5.7. So, no guarantees that
So, that means there's something in your global dotfiles ( What OS are you using? |
Yes I was a bit surprised to see 5.3 pop up. I did some digging and it seems the variables are not correctly reflecting the version I am running: https://i.ibb.co/cbQvhx9/Screen-Shot-2021-06-05-at-9-19-37-am.png As far as I am aware, should be 5.8 running on OSX. I'll do some digging around. I found some files in /private/etc but did not immediately suggest anything that could be causing the error. |
Interestingly, running Here is the output: |
What do you get from the following? print $SHELL $ZSH_VERSION
$SHELL --version
Perhaps because the |
Yep, something is not right. Bit odd, maybe its a homebrew issue.. I don't know exactly what to trust here, but I assume --version is correct in saying its 5.8. But the variables say otherwise. Yep good idea, it might be something that happens during init. perhaps zsh 5.3 calls zsh5.8 https://i.ibb.co/NtWSTCK/Screen-Shot-2021-06-07-at-6-20-22-pm.png |
Okay so here is the fix, fyi for anyone else. This is related to homebrew. You need version > 5.4? for this plugin and so you need the login shell to reflect a version above that. You can get login shell with To change the login shell on an OSX machine (perhaps unix generally) you need append the path to your shell e.g the version homebrew installed Afterward you will be able to successfully run |
5.3 and lower don't support `autoload` by absolute path. This came up in issue #287.
zsh-autocomplete
version: e40c131ERROR:
command not found: .autocomplete.__init_
Open shell, with minimal zshrc (single line) with
source ~/.zsh/zsh-autocomplete/zsh-autocomplete.plugin.zsh
Produces error each time we start the shell
We can 'fix' the error by running
exec zsh -d
Screenshot: https://i.ibb.co/Pw7GBnW/Screen-Shot-2021-06-04-at-2-56-05-pm.png
The text was updated successfully, but these errors were encountered: