Skip to content

Instantly share code, notes, and snippets.

@christian-ehrisman
Last active February 11, 2024 19:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christian-ehrisman/8a9076bff9e90ffde90679268f2b92fb to your computer and use it in GitHub Desktop.
Save christian-ehrisman/8a9076bff9e90ffde90679268f2b92fb to your computer and use it in GitHub Desktop.
Powershell
template: "shell"
name: "FZF WinGet"
description: "Search winget with PSFzf"
keywords: ["winget", "search", "fzf", "install"]
code:
- command: '$search=""; Install-WinGetPackage (Find-WinGetPackage $search | Select-Object ID | fzf)'
type: "shell"
supported_os: ["windows"]
shell_types: ["powershell", "pwsh"]
required_shell_modules:
- module:
name: "PSFzf"
min_version: ""
- module:
name: "Microsoft.WinGet.Client"
min_version: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment