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 upTargets with a : don't work correctly (special characters require escaping) #47
Comments
I'm not sure I understand what the error here is. There is not a |
It was autocompleted, for whatever reason. Notice that Also, nothing gets completed with just |
Oh, just figured out why coverage was completed, I have a folder named like that:
|
Did you try the suggestion in the bottom of the readme? |
Just now (didn't notice it before). It behaves the same, only the options are presented differently. It would still complete |
Then yeah not sure I'm able to do anything about it. I tried looking into this in the past and came up short. Happy to hear suggestions though. |
I've got package.json files with a similar convention and have found it not a big deal to do |
This looks related: https://stackoverflow.com/a/12495727/672885 |
Already do that yarn-completion/yarn-completion.bash Line 1028 in 2821c67 |
No, this specifically avoids redefining it, quote:
I've checked with Maven, which uses this and the difference is their completion escapes the character:
|
Adding the backslash manually does work, I get Escaping special chars like colons, spaced etc would probably fix it without other changes. |
- use same char escapes as npm (see `npm completion` output) - avoid COMP_WORDBREAKS override
Fixed in #48 |
Example (generated by Nest.js CLI):
Sample: