We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25345e9 commit af47a66Copy full SHA for af47a66
dotposh/Config/posh-completions/yq.ps1
@@ -0,0 +1,5 @@
1
+if (Get-Command yq -ErrorAction SilentlyContinue) {
2
+ Register-EngineEvent -SourceIdentifier PowerShell.OnIdle -MaxTriggerCount 1 -Action {
3
+ yq shell-completion powershell | Out-String | Invoke-Expression
4
+ } | Out-Null
5
+}
0 commit comments