-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Error with Powershell tab completion script #931
Comments
Thanks for reporting! This is because ripgrep has no subcommands. I think simply adding a default will fix this. If someone wants an easy first PR this is one! So adding a line here:
or |
Hmm, adding |
Ok, I did some testing and it looks like it's a double issue.
|
Here's the excerpt of the generated script using the name, when it should be using the bin name:
|
Fixed in 2.23.3 |
Reposted from BurntSushi/ripgrep#445
Attempting to import the _rg.ps1 tab completion script into Powershell throws an exception:
There's an empty switch statement there that seems like the cause.
$PSVersionTable:
This is with ripgrep version 0.5.1
Here's the ps1 file.
The text was updated successfully, but these errors were encountered: