Skip to content

Commit

Permalink
Also show other applications in PATH with 'scoop which'
Browse files Browse the repository at this point in the history
  • Loading branch information
r15ch13 committed Mar 11, 2018
1 parent 094604a commit 79bf99c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libexec/scoop-which.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ if($path.endswith(".ps1") -and ($path -like "$usershims*" -or $path -like "$glob
}

friendly_path $exepath
} elseif($gcm.commandtype -eq 'Application') {
$gcm.Source
} elseif($gcm.commandtype -eq 'Alias') {
scoop which $gcm.resolvedcommandname
} else {
Expand Down

0 comments on commit 79bf99c

Please sign in to comment.