mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-13 03:09:10 +08:00
Fix bug introduced in 1.3.15
This commit is contained in:
parent
4403edb110
commit
c332ab1a34
10
vendor/init.bat
vendored
10
vendor/init.bat
vendored
@ -167,10 +167,14 @@ if "%CMDER_CLINK%" == "1" (
|
|||||||
%lib_console% verbose_output "WARNING: Incompatible 'ComSpec/Shell' Detetected Skipping Clink Injection!"
|
%lib_console% verbose_output "WARNING: Incompatible 'ComSpec/Shell' Detetected Skipping Clink Injection!"
|
||||||
)
|
)
|
||||||
|
|
||||||
if "%CMDER_CONFIGURED%" == "1" (
|
if "%CMDER_CONFIGURED%" == "2" (
|
||||||
echo Cmder is already configured, skipping Cmder Init!
|
echo Cmder is already configured, skipping Cmder Init!
|
||||||
|
|
||||||
goto CMDER_CONFIGURED
|
goto CMDER_CONFIGURED
|
||||||
|
) else if "%CMDER_CONFIGURED%" == "1" (
|
||||||
|
echo Cmder is already configured, skipping to Cmder User Init!
|
||||||
|
|
||||||
|
goto USER_CONFIG_START
|
||||||
)
|
)
|
||||||
|
|
||||||
:: Prepare for git-for-windows
|
:: Prepare for git-for-windows
|
||||||
@ -236,10 +240,10 @@ goto :CONFIGURE_GIT
|
|||||||
:: Add git to the path
|
:: Add git to the path
|
||||||
rem add the unix commands at the end to not shadow windows commands like more
|
rem add the unix commands at the end to not shadow windows commands like more
|
||||||
if %nix_tools% equ 1 (
|
if %nix_tools% equ 1 (
|
||||||
%lib_console% debug_output init.bat "Preferring Windows commands"
|
%lib_console% verbose_output "Preferring Windows commands"
|
||||||
set "path_position=append"
|
set "path_position=append"
|
||||||
) else (
|
) else (
|
||||||
%lib_console% debug_output init.bat "Preferring *nix commands"
|
%lib_console% verbose_output "Preferring *nix commands"
|
||||||
set "path_position="
|
set "path_position="
|
||||||
)
|
)
|
||||||
|
|
||||||
|
2
vendor/profile.ps1
vendored
2
vendor/profile.ps1
vendored
@ -1,4 +1,4 @@
|
|||||||
# Init Script for PowerShell
|
# Init Script for PowerShell
|
||||||
# Created as part of cmder project
|
# Created as part of cmder project
|
||||||
|
|
||||||
# !!! THIS FILE IS OVERWRITTEN WHEN CMDER IS UPDATED
|
# !!! THIS FILE IS OVERWRITTEN WHEN CMDER IS UPDATED
|
||||||
|
Loading…
Reference in New Issue
Block a user