-
Notifications
You must be signed in to change notification settings - Fork 224
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
Not generating mise completions despite usage CLI is installed #1710
Comments
I just tested with fish, |
Completions broke for me recently as well, using bash. I've been migrated from rtx/using mise for awhile, completions working as expected. Now, when I type
I'm guessing the relevant change was #1652, but I have not bisected yet. I haven't grokked the PR diff fully to understand the feature that that change brings, but just starting with the doc updates there, this seems relevant: I install/update mise with Homebrew, and it appears the formula installs the bash completion script with I have never installed a I assume that mise's completion support from the Putting it another way: previously with a working bash-completion setup, My Doctor Report
|
You need to install usage in order to use mise's completions |
Okay so I guess this was a slightly breaking change, we now need to install something additional and that was not the case before #1652, is that correct? I'm sorry to belabor tediously here, but it sounds to me like upgrade notes are needed for users. I'd try to contribute those if I understood clearly. There's nothing explanatory in the GitHub Releases notes, #1652 has no description in the PR or commit message.
Now I understand why the output is the same with or without the flag: it's not really an option. The Except I don't know anything about |
This is unrelated to the original problem (the issue is about this failing while It does seem like there needs to be an option to disable this for at least fish and bash (and that the Package maintainers also probably need to be notified of this somehow? The mise packaged for unstable nixpkgs currently does not include I tried going back to find where this was introduced, and it looks like (to reiterate the above) it's in https://github.com/jdx/mise/releases/tag/v2024.2.10. The line about "adding support" does not convey what someone would need to know when upgrading, and the pull request's description is empty. Changes like this should be handled better so there aren't surprises. Taking care to provide useful release notes would be a good start. |
You're overstating the harm that could be caused from something like shell completions. Nothing involving shell completions could be considered a "breaking change". Could release notes be better? Sure, but the tool tells you what you need to do in order to get completions to work so I don't see how release notes could offer much more hand-holding. There certainly is never going to be support for the old completions. Usage supports much more advanced completions that would never be possible with clap's autogenerated completions. mise is an open source project, if you really want to use it without usage go ahead and fork it and maintain it yourself. Similarly, if you'd like to see usage in more package managers: go ahead and put them in there. Usage is open source and there is nothing stopping you from doing that. I'm closing since this is a bunch of petty complaints unrelated to the original problem. The original problem also doesn't appear to be reproducible. |
Hi!
I migrated from rtx to mise and I'm trying to generate the completions through
mise completion fish
command, but I got this return:I installed the
usage
plugin throughmise use -g usage
command and the system detected its presence when I run thecommand -v usage
above.Here is my
mise doctor
log:What can be missing to generate the completions?
Thanks for the help.
The text was updated successfully, but these errors were encountered: