File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,8 @@ exit /b
119119 :end_enhance_path
120120 set " PATH = %PATH:;; =; % "
121121
122- REM echo %PATH%| wc -c
122+ REM echo %path%| wc -c
123+
123124 if " %fast_init% " == " 1" exit /b
124125
125126 if not " %OLD_PATH:~0 ,3000 % " == " %OLD_PATH:~0 ,3001 % " goto :toolong
@@ -135,7 +136,7 @@ exit /b
135136 echo " %OLD_PATH% " > " %temp% \%_rand% _cmder_lib_pathA"
136137 if errorlevel 1 ( if exist " %temp% \%_rand% _cmder_lib_pathA" del " %temp% \%_rand% _cmder_lib_pathA" & goto :toolong )
137138 echo " %PATH% " > " %temp% \%_rand% _cmder_lib_pathB"
138- if errorlevel 1 ( if exist " %temp% \%_rand% _cmder_lib_pathA" del " %temp% \%_rand% _cmder_lib_pathA" & if exist " %temp% \%_cmder_lib_pathB" del "% temp%\% _rand%_cmder_lib_pathB" & goto :toolong )
139+ if errorlevel 1 ( if exist " %temp% \%_rand% _cmder_lib_pathA" del " %temp% \%_rand% _cmder_lib_pathA" & if exist " %temp% \%_rand% _cmder_lib_pathB" del " %temp% \%_rand% _cmder_lib_pathB" & goto :toolong )
139140 fc /b " %temp% \%_rand% _cmder_lib_pathA" " %temp% \%_rand% _cmder_lib_pathB" 2 > nul 1 > nul
140141 if errorlevel 1 ( del " %temp% \%_rand% _cmder_lib_pathA" & del " %temp% \%_rand% _cmder_lib_pathB" & set " _rand = " & goto :changed )
141142 del " %temp% \%_rand% _cmder_lib_pathA" & del " %temp% \%_rand% _cmder_lib_pathB" & set " _rand = "
You can’t perform that action at this time.
0 commit comments