-
Notifications
You must be signed in to change notification settings - Fork 133
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
gw completion not working on Linux #14
Comments
@rwinch If for some reason that's not working for you, could you please tell me a bit about your environment and exactly what command you're trying to complete so I can help debug? Please note that these scripts don't yet support completion from a subproject directory #3. |
Thanks for the fast reply! I am using The project I'm using leverages Gradle 3.3. If I type:
and press tab it completes to
If I type:
and press tab nothing happens. |
Thanks for the thorough context, Rob.
In the meantime, would you tell me if task completion works with |
@eriwen Thanks again for your fast response. Task completion works for It may be useful to know I am using Ubuntu 16.10. NOTE: I am running this in the root project of spring framework's master branch with sha |
@rwinch Weird question: Does completion complete |
@eriwen No it does not. The following does not complete:
However the following will complete:
So will the following
|
I'm able to reproduce this issue, and it seems like I expect that explicitly declaring gw completion in |
Thanks for the follow up :) |
when gw is an alias, it could also be completed if we check it with type: The only issue is that it's not guaranteed to be an alias for gradlew, so the output of the type command might have to be parsed to guarantee we complete on the correct alias: |
Adding
to |
@eriwen Any news on this? Can't the workraound that @wolfs mentioned to work either.
But even when removing this, I can't get it to work. |
This was implemented in bash last june. |
@wolfs 's solution #14 (comment) still works for me, I tried running the if branch directly if hash gw 2>/dev/null || alias gw >/dev/null 2>&1; then echo yes; fi
# output:
yes So this line has been already executed Don't know what's wrong. Maybe it's a conflict with some other programs. I'm using Macbook Pro macOS Mojave 10.14.3 |
It would be nice if the completion worked for https://github.com/dougborg/gdub (or something similar)
The text was updated successfully, but these errors were encountered: