Skip to content

Instantly share code, notes, and snippets.

@milnak
Last active March 13, 2024 04:58
Show Gist options
  • Save milnak/9bb3e4b2c8a0a28e4ef87b2130d24018 to your computer and use it in GitHub Desktop.
Save milnak/9bb3e4b2c8a0a28e4ef87b2130d24018 to your computer and use it in GitHub Desktop.
My Scoop aliases #scoop
scoop alias rm list-full
scoop alias add list-full `
'scoop list | Select-Object Source,Name,Version | ForEach-Object { $app = ''{0}/{1}'' -f $_.Source, $_.Name; $info = scoop.ps1 info $app; [PSCustomObject]@{ ''App'' = $app; ''Version'' = $_.Version; ''Description'' = $info.Description; ''Website'' = $info.Website } }' `
'List installed apps along with description and website'
# use "scoop cat" instead
# scoop alias add show-manifest `
# '$bucket, $app = $args[0] -split ''/''; (Invoke-WebRequest(''https://raw.githubusercontent.com/ScoopInstaller/{0}/master/bucket/{1}.json'' -f $bucket, $app)).Content' `
# 'Show manifest for a given bucket/app'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment