cross-platform custom powershell autocomplete
psdemo2.mp4
(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
- Performs well up to 100 000+ completions
- Press Tab / Enter to pick the highlighted command
the top-right context info in the demo is not on by default and can be turned on by adding this to your profile
$PsCompleteSettings.TopRightHUDEnabled = $true; # off by default