it would be awesome if aesh like its support fish,zsh,etc. could support powershell as psh works on mutliple OS and in particular windows.
Register-ArgumentCompleter -Native -CommandName mycli -ScriptBlock {
param($wordToComplete, $commandAst, $cursorPosition)
mycli --aesh-complete -- $commandAst.ToString() |
ForEach-Object {
[System.Management.Automation.CompletionResult]::new(
$_,
$_,
'ParameterValue',
$_
)
}
}
would be awesome if this also included geneation/setup of the completion scripts.
it would be awesome if aesh like its support fish,zsh,etc. could support powershell as psh works on mutliple OS and in particular windows.
PowerShell supports custom dynamic argument completion through
Register-ArgumentCompleter, including for native commands via the-Nativeoption:would be awesome if this also included geneation/setup of the completion scripts.