mirror of
https://github.com/cmderdev/cmder.git
synced 2025-11-30 02:29:48 +08:00
Merge remote-tracking branch 'upstream/master' into development-dax
* upstream/master:
cleanup
respect PATHEXT instead of hardcoding our own value
add missing qualified dir
cleanup
prevent warnings if the dir does not exist
enable `/d` flag in `excd` by default
fix conflict
add notes on what shim actually is
⬆️ Update dependencies (git-for-windows v2.47.0.windows.1, clink v1.7.3, clink-completions v0.6.0)
make library comments consistent and clean up code
This commit is contained in:
3
vendor/psmodules/Cmder.ps1
vendored
3
vendor/psmodules/Cmder.ps1
vendored
@@ -18,7 +18,8 @@ function readVersion($gitPath) {
|
||||
}
|
||||
|
||||
function isGitShim($gitPath) {
|
||||
# check if there's shim - and if yes follow the path
|
||||
# check if there is a shim file - if yes, read the actual executable path
|
||||
# See: github.com/ScoopInstaller/Shim
|
||||
|
||||
if (Test-Path "${gitPath}\git.shim") {
|
||||
$shim = (get-content "${gitPath}\git.shim")
|
||||
|
||||
Reference in New Issue
Block a user