mirror of
https://github.com/cmderdev/cmder.git
synced 2025-06-15 14:17:50 +08:00
remove -all
This commit is contained in:
2
vendor/profile.ps1
vendored
2
vendor/profile.ps1
vendored
@ -44,7 +44,7 @@ $gitVersionVendor = (readVersion -gitPath "$ENV:CMDER_ROOT\vendor\git-for-window
|
||||
# write-host "GIT VENDOR: ${gitVersionVendor}"
|
||||
|
||||
# Get user installed Git Version[s] and Compare with vendored if found.
|
||||
foreach ($git in (get-command -ErrorAction SilentlyContinue -all 'git')) {
|
||||
foreach ($git in (get-command -ErrorAction SilentlyContinue 'git')) {
|
||||
# write-host "GIT Path: " + $git.Path
|
||||
$gitDir = Split-Path -Path $git.Path
|
||||
$gitDir = isGitShim -gitPath $gitDir
|
||||
|
Reference in New Issue
Block a user