-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(shim): Add 'Get-CommandPath()' to find git #4913
Merged
Merged
Changes from 1 commit
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
099a8fb
Fix git source
rashil2000 6e9b74d
Update CHANGELOG.md
rashil2000 506bb4f
Merge branch 'develop' into sh-shim-path
rashil2000 50bee43
Move primary function to core.ps1
rashil2000 5ba63e8
tweak: Use 'Get-ShimTarget()' that from 'scoop-shim'
niheaven 9371b50
Merge remote-tracking branch 'origin/develop' into sh-shim-path
niheaven c813022
chglog: Update entry [skip ci]
niheaven 86c2241
fix: Return $null if command not found
niheaven File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev
Previous commit
fix: Return $null if command not found
- Loading branch information
commit 86c22414f0ae2641467843759158e512ec54f74d
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a bin includes both
*.ps1
and*.exe
shims (like aria2c):The command
scoop which aria2c
show'aria2c' not found / not a scoop shim.
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new shim system should use only
.exe
shims, and.ps1
shims are only used for.cmd
or bash script.Try remove all shims except
scoop.*
andscoop reset *
, and this should be fixed.