- Notifications
You must be signed in to change notification settings - Fork4
License
PowerShell/command-not-found
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Thecommand-not-found module is a feedback provider plugin for PowerShell.This feedback provider depends on thecommand-not-found utility,which is often available on Linux by default,to provide suggestions when a native command cannot be found.
bash also calls thecommand-not-found utility to provide suggestions when a command cannot be found.But this feedback provider plugin does more than that,thanks to thecommand-line predictor feature in PowerShell.It also implements theICommandPredictor interface and serves as a predictor.When the resulted feedback contains actionable items, such as commands to run,they will be used as predictive suggestions to streamline the user's command-line experience.
Thecommand-not-found plugin is built on theIFeedbackProvider interface,which is available with PowerShell7.4.0-preview.2 or above.To display prediction suggestions from thecommand-not-found,you needPSReadLine 2.2.6 or above.
- PowerShell
7.4.0-preview.2or above - PSReadLine
2.2.6or above
PowerShell feedback providers and predictors are written in C# and registered with the PowerShellSubsystem Plugin Model.To learn more, see "How to create a feedback provider" and"How to create a command-line predictor".
Make sure thelatest .NET 8 SDK is installedand available in yourPATH environment variable.Run.\build.ps1 frompwsh to build the project.The module will be published to.\bin\command-not-found by a successful build.
Please see ourCode of Conduct before participating in this project.
For any security issues, please see ourSecurity Policy.
About
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors4
Uh oh!
There was an error while loading.Please reload this page.
