mirror of
https://github.com/cmderdev/cmder.git
synced 2025-01-26 16:19:08 +08:00
Merge branch 'master' into 1.3.15
This commit is contained in:
commit
2517f55f15
2
vendor/clink.lua
vendored
2
vendor/clink.lua
vendored
@ -431,6 +431,8 @@ clink.prompt.register_filter(svn_prompt_filter, 50)
|
|||||||
clink.prompt.register_filter(percent_prompt_filter, 51)
|
clink.prompt.register_filter(percent_prompt_filter, 51)
|
||||||
|
|
||||||
local completions_dir = clink.get_env('CMDER_ROOT')..'/vendor/clink-completions/'
|
local completions_dir = clink.get_env('CMDER_ROOT')..'/vendor/clink-completions/'
|
||||||
|
-- Execute '.init.lua' first to ensure package.path is set properly
|
||||||
|
dofile(completions_dir..'.init.lua')
|
||||||
for _,lua_module in ipairs(clink.find_files(completions_dir..'*.lua')) do
|
for _,lua_module in ipairs(clink.find_files(completions_dir..'*.lua')) do
|
||||||
-- Skip files that starts with _. This could be useful if some files should be ignored
|
-- Skip files that starts with _. This could be useful if some files should be ignored
|
||||||
if not string.match(lua_module, '^_.*') then
|
if not string.match(lua_module, '^_.*') then
|
||||||
|
6
vendor/init.bat
vendored
6
vendor/init.bat
vendored
@ -188,6 +188,10 @@ for /F "delims=" %%F in ('where git.exe 2^>nul') do (
|
|||||||
%lib_git% compare_git_versions
|
%lib_git% compare_git_versions
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if defined GIT_INSTALL_ROOT (
|
||||||
|
goto :FOUND_GIT
|
||||||
|
)
|
||||||
|
|
||||||
:: our last hope: our own git...
|
:: our last hope: our own git...
|
||||||
:VENDORED_GIT
|
:VENDORED_GIT
|
||||||
if exist "%CMDER_ROOT%\vendor\git-for-windows" (
|
if exist "%CMDER_ROOT%\vendor\git-for-windows" (
|
||||||
@ -370,4 +374,4 @@ set CMDER_INIT_END=%time%
|
|||||||
if %time_init% gtr 0 (
|
if %time_init% gtr 0 (
|
||||||
"%cmder_root%\vendor\bin\timer.cmd" %CMDER_INIT_START% %CMDER_INIT_END%
|
"%cmder_root%\vendor\bin\timer.cmd" %CMDER_INIT_START% %CMDER_INIT_END%
|
||||||
)
|
)
|
||||||
exit /b
|
exit /b
|
Loading…
Reference in New Issue
Block a user