When pressing ⇥ Tab to trigger the autocomplete I got the following error instead of the autocomplete:
mise Error: × Invalid usage config
thread 'main' panicked at library/std/src/io/mod.rs:1844:21:
I noticed this since updating to the latest version 2024.9.10 macos-arm64 (2024-09-26), but maybe it happens with some previous version too.
First the error was a little misleading, I focused on the panic part until I realised that usage is referencing the usage dependency actually and it is not the usage word.
I then ran mise upgrade and saw that usage was upgraded from version 0.3.1 to 0.6.0.
To Reproduce
downgrade usage to 0.3.1 (probably with some other version not the latest happens too, I haven't tested it).
Expected behavior
I would have expected the tab completion to work or, in this particular case, I think mise should check that the version of usage is the minimum required, or even better upgrade it automatically. It is managed by mise itself after all.
Describe the bug
When pressing ⇥ Tab to trigger the autocomplete I got the following error instead of the autocomplete:
I noticed this since updating to the latest version
2024.9.10 macos-arm64 (2024-09-26)
, but maybe it happens with some previous version too.First the error was a little misleading, I focused on the panic part until I realised that
usage
is referencing theusage
dependency actually and it is not the usage word.I then ran
mise upgrade
and saw thatusage
was upgraded from version0.3.1
to0.6.0
.To Reproduce
downgrade
usage
to 0.3.1 (probably with some other version not the latest happens too, I haven't tested it).Expected behavior
I would have expected the tab completion to work or, in this particular case, I think mise should check that the version of
usage
is the minimum required, or even better upgrade it automatically. It is managed by mise itself after all.mise doctor
outputAdditional context
I have set up mise and autocomplete in my .zshrc file like this: