-
Notifications
You must be signed in to change notification settings - Fork 905
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
Provide PowerShell tab completion for Chocolatey #412
Comments
It's a bit confusing with two repositories... |
Yes, it is a bit confusing - the ones in chocolatey/chocolatey either get fixed just as a result of not being written in PowerShell or get migrated over to here. In this case migrated. :) |
Well, you may have missed it but - https://twitter.com/ferventcoder/status/711530331879309312. |
The name of the skip powershell should be skip scripts for future expansion into other automation providers.
Provide PowerShell tab completion for Chocolatey commands including - searching for installed packages for upgrade/uninstall - searching for packages to install - only return the top 5 results from a search and only search by id Also set refreshenv as part of the profile additions.
To play with this, install the latest beta and run |
Decided to punt on Posh v2 support. This is not a core feature, but an enhancement. So if someone can get this working with POSH v2, I'd accept the PR. I'm just not going to work on making it work. |
- Draw out the flow of tab completion so it feels natural, which includes the options most widely being used coming first in the option set. - Introduce naive filtering to not redisplay an already passwed option/switch. It doesn't quite work if it is a value you need to add data to but it's a start. - Skip using the choco shim and go directly to the choco.exe. - Tweak commands to produce the fastest execution
When installing Chocolatey, it should attempt to install the profile. This may fail when run against Local System, so the failure should not affect Chocolatey installation.
Filtering by subcommands doesn't autocomplete if you have entered part of the wording.
I have installed |
@szachara what you are looking for is noted at #894 (comment) |
Thx, I try it later and let know at #894 |
Please provide PowerShell tab completion for chocolatey
The text was updated successfully, but these errors were encountered: