Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
completions occasionally bomb out with "complete: -d requires a non-empty string" #3557
fish version installed (
I alluded to this bug in another issue. I still have not been able to reliably reproduce this, best I can tell it just happens if you type too fast sometimes.
Just now I typed
It's not specific to a particular completion, I have seen it happen with others.
It also doesn't seem to be to do with custom completions or generated completions, it seems related to auto-completions from shell history.
m refers to m-cli for macOS, it turns out there is a vendor completion file that I hadn't noticed before. As mentioned above, I am fairly certain I have seen this behaviour with utilities other than m-cli but I could be mistaken.
https://raw.githubusercontent.com/rgcr/m-cli/v0.1.9/completion/fish/m.fish is the file I have in my release, I can see there is one occurrence of
@rgcr this might be something you can help with?
The author of that bit of code probably expected that if there was no description you would just omit the