Fix bug introduced in 1.3.15

This commit is contained in:
Dax T. Games 2020-07-01 16:24:36 -04:00
parent 4403edb110
commit c332ab1a34
2 changed files with 8 additions and 4 deletions

10
vendor/init.bat vendored
View File

@ -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
View File

@ -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