Skip to content

Commit

Permalink
fix(completion): Virustotal applications completion
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash258 committed Jul 25, 2020
1 parent f4a5044 commit e2d2b3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions supporting/completion/Scoop-Completion.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,12 @@ function script:ScoopTabExpansion($LastBlock) {
}

# Handles uninstall package names
'^(cleanup|hold|prefix|reset|uninstall|update|unhold|virustotal)\s+(?:.+\s+)?(?<package>[\w][\-.\w]*)?$' {
'^(cleanup|hold|prefix|reset|uninstall|update|unhold)\s+(?:.+\s+)?(?<package>[\w][\-.\w]*)?$' {
return Get-LocallyInstalledApplicationsByScoop $Matches['package']
}

# Handles install package names
'^(cat|depends|download|info|install|home)\s+(?:.+\s+)?(?<package>[\w][\-.\w]*)?$' {
'^(cat|depends|download|info|install|home|virustotal)\s+(?:.+\s+)?(?<package>[\w][\-.\w]*)?$' {
return Get-LocallyAvailableApplicationsByScoop $Matches['package']
}

Expand Down

0 comments on commit e2d2b3f

Please sign in to comment.