Skip to content

Commit

Permalink
✨ feat: added completion for yq command
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquindev committed Dec 8, 2024
1 parent 25345e9 commit af47a66
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dotposh/Config/posh-completions/yq.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if (Get-Command yq -ErrorAction SilentlyContinue) {
Register-EngineEvent -SourceIdentifier PowerShell.OnIdle -MaxTriggerCount 1 -Action {
yq shell-completion powershell | Out-String | Invoke-Expression
} | Out-Null
}

0 comments on commit af47a66

Please sign in to comment.