简体中文 | Powershell Gallery | GitHub | Gitee | AtomGit
A tab-completion manager for PowerShell, built with Rust and Lua.
- Built-in completion library.
- More powerful completion menu.
- Multilingual support: en-US, zh-CN, etc.
- Dynamic sorting of completion items based on command history.
-
Install the module.
-
Install-Module PSCompletions -
Install-PSResource PSCompletions
-
-
Import-Module PSCompletions
- Built-in completion library: add a completion with
psc add git. - Native completion integration: use PowerShell's native completions.
-
If a command has an official completion, a similar command may be run:
xxx completion powershell | Out-String | Invoke-Expression
-
Register completions with the PowerShell argument completer:
Register-ArgumentCompleter [-Native] -CommandName <Name> -ScriptBlock { }
-
Use other completion libraries such as Carapace.
-
See the changelog for details.
See the contribution guide for details.
If you like this project, feel free to give it a Star ⭐️ or Donate 💰.
- PSReadLine — PowerShell's editing and completion foundation.
- fzf/PSFzf — UI inspiration for the completion menu.
