-
Notifications
You must be signed in to change notification settings - Fork 7
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
Unable to use subword completion #49
Comments
After reading your documentation, I stumbled across this:
I guess my problem is using this more than once. Thank anyway. |
Hi. Take a look at the Limitations section in the README. External commands can only appear at a tail position in a word to avoid ambiguities. If you're not getting any warnings, I should add one. I'm on mobile so it's awkward to type but you should be able to move -amd64/-arm64 suffix into to the shells command output and make it work. |
Thanks, mate, I just learned that as well. But much appreciate that you take the time to write here! |
Hope you made it work. Cheers! |
A question though: didn't you get a warning/error from complgen? I thought I had added it. |
Turns out there was a bug, and the .usage file above didn't generate an error message where it should have. I minimized it to:
and now it produces:
|
wow. Thanks a lot mate! Good thinking! |
Hello 👋 ,
firstly, thank you very much for this project. I love it. Unfortunately, I'm working on an auto-completion for a more complicated build process to make more sense of it. For this, I though using complgen might be a great idea. My usage file looks like this:
The key problem I'm having is the following:
./build kvm- TAB
I want to mimic the following string, as an example:
./build kvm-python_readonly_dev-amd64-today
Currently, I autocomplete the platform, AWS or KVM here the options is working likewise, but I can't add anything that follows. I know that the dash is already breaking the fish completion, but I though building for bash first. I'm not sure what I'm doing wrong at the time, or does the dash break here more?
Not only that, but I think it should look like this later on:
I'm using Archlinux with the version
0.1.8-1
of comlgen from pacman. bash hasVersion 5.2.26(1)-release
and fish hasversion 3.7.1
.Any help is appreciated!
And once more thank you for the the great work here.
The text was updated successfully, but these errors were encountered: