Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ieviev/pscomplete

cross-platform custom powershell autocomplete
https://github.com/ieviev/pscomplete

autocomplete powershell tab-expansion

Last synced: about 18 hours ago
JSON representation

cross-platform custom powershell autocomplete

Awesome Lists containing this project

README

        

# PsComplete
cross-platform custom powershell autocomplete

## demo

https://github.com/ieviev/pscomplete/assets/36763595/06742872-b7dd-465e-a5a5-8c2d928421b9

## installation

(available at https://www.powershellgallery.com/packages/PsComplete)

- `install-module -name pscomplete`
- `import-module -name pscomplete`
- After that Tab is bound to the expander for this session

Additionally:
- Add `import-module -name pscomplete` to your profile (ex. `nano $PROFILE` / `notepad $PROFILE`) to have it permanently on
- completion can also be invoked programmatically with `invoke-guipscomplete`

## features

- Performs well up to 100 000+ completions
- Press Tab / Enter to pick the highlighted command

## configuration

the top-right context info in the demo is not on by default and
can be turned on by adding this to your profile

```powershell
$PsCompleteSettings.TopRightHUDEnabled = $true; # off by default
```