Skip to content
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

"function definition file not found" on update #139

Closed
mathomp4 opened this issue Jul 7, 2023 · 2 comments
Closed

"function definition file not found" on update #139

mathomp4 opened this issue Jul 7, 2023 · 2 comments

Comments

@mathomp4
Copy link

mathomp4 commented Jul 7, 2023

I noticed this today when I ran my every-so-often antidote update:

antidote update
Updating bundles...
antidote: checking for updates: https://github.com/marlonrichert/zsh-autocomplete
antidote: checking for updates: https://github.com/romkatv/powerlevel10k
antidote: checking for updates: https://github.com/romkatv/zsh-defer
antidote: checking for updates: https://github.com/zdharma-continuum/fast-syntax-highlighting
antidote: checking for updates: https://github.com/zsh-users/zsh-autosuggestions
antidote: checking for updates: https://github.com/zsh-users/zsh-history-substring-search
Waiting for bundle updates to complete...
Bundle updates complete.
Updating antidote...
Antidote self-update complete.

antidote-update:46: __antidote_core: function definition file not found
antidote version 1.8.8 (0b29bea)

Now, I didn't capture it here, but it seems to update all the plugins fine. But it can't seem to update itself?

Now, the thing is I should be at v1.8.9 because the repo I have cloned seems to say it is there:

cd ~/.antidotegit remote update --prunegit diff v1.8.9

but antidote seems to say it is still 1.8.8.

@mattmc3
Copy link
Owner

mattmc3 commented Jul 7, 2023

Hey @mathomp4, thanks for your bug report. I can confirm this is an issue in the transition from 1.8.8 to 1.8.9. Your antidote install did successfully self-update, it just did not properly reload itself in your current Zsh session. There shouldn't be a problem with your antidote install, and if you open a new Zsh session and type antidote --version you should get antidote version 1.8.9 (0b29bea) and all should be well with the install. However, this is a bad user experience, so thank you for the bug report and I'll see if I can cut a quick fix for those still on 1.8.8 who haven't upgraded yet.

mattmc3 added a commit that referenced this issue Jul 7, 2023
@mattmc3 mattmc3 closed this as completed in aca6f00 Jul 7, 2023
@mathomp4
Copy link
Author

Forgot to reply back and say since v1.9.0 all is well. Thanks for the prompt fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants