Skip to content

Commit

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

0 comments on commit 25345e9

Please sign in to comment.