mirror of
https://github.com/cmderdev/cmder.git
synced 2025-02-10 23:49:07 +08:00
Merge branch 'master' of https://github.com/cmderdev/cmder into fix_path_with!
This commit is contained in:
commit
e8b33aa45b
@ -2,15 +2,18 @@
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
* Update Clink to 0.3.4
|
* Update Clink to 0.3.4
|
||||||
* Fix powershell foreground color changingf to green
|
* Fix powershell foreground color changingf to green
|
||||||
|
=======
|
||||||
|
* Update Clink Completions to 0.3.4
|
||||||
|
* Fix powershell foreground color changing to green
|
||||||
|
>>>>>>> 4575ac3209f7d513504bcaf80b41ef1106c9406a
|
||||||
|
|
||||||
## [1.3.12](https://github.com/cmderdev/cmder/tree/v1.3.11) (2019-08-18)
|
## [1.3.12](https://github.com/cmderdev/cmder/tree/v1.3.11) (2019-08-18)
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
|
|
||||||
* Pull Request: [#2122](https://github.com/cmderdev/cmder/pull/2122)
|
|
||||||
* Restore old `alias.cmd` without `create` syntax because it did not work in all situations.
|
|
||||||
* Pull Request: [#2113](https://github.com/cmderdev/cmder/pull/2113)
|
* Pull Request: [#2113](https://github.com/cmderdev/cmder/pull/2113)
|
||||||
* Add `vendor\bin\vscode_init.cmd` for use with Visual Studio Code
|
* Add `vendor\bin\vscode_init.cmd` for use with Visual Studio Code
|
||||||
* Fixes [#2118](https://github.com/cmderdev/cmder/issues/2118)
|
* Fixes [#2118](https://github.com/cmderdev/cmder/issues/2118)
|
||||||
|
@ -633,6 +633,17 @@ cmderOptions GetOption()
|
|||||||
cmderOptions.cmderConEmuArgs = szArgList[i + 1];
|
cmderOptions.cmderConEmuArgs = szArgList[i + 1];
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
/* Bare double dash, remaining commandline is for conemu */
|
||||||
|
else if (_wcsicmp(L"--", szArgList[i]) == 0)
|
||||||
|
{
|
||||||
|
std::wstring cmdline = std::wstring(GetCommandLineW());
|
||||||
|
auto doubledash = cmdline.find(L" -- ");
|
||||||
|
if (doubledash != std::string::npos)
|
||||||
|
{
|
||||||
|
cmderOptions.cmderConEmuArgs = cmdline.substr(doubledash + 4);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
else if (cmderOptions.cmderStart == L"")
|
else if (cmderOptions.cmderStart == L"")
|
||||||
{
|
{
|
||||||
int len = wcslen(szArgList[i]);
|
int len = wcslen(szArgList[i]);
|
||||||
|
4
vendor/init.bat
vendored
4
vendor/init.bat
vendored
@ -141,14 +141,14 @@ if "%CMDER_CLINK%" == "1" (
|
|||||||
copy "%CMDER_ROOT%\vendor\clink_settings.default" "%CMDER_USER_CONFIG%\settings"
|
copy "%CMDER_ROOT%\vendor\clink_settings.default" "%CMDER_USER_CONFIG%\settings"
|
||||||
echo Additional *.lua files in "%CMDER_USER_CONFIG%" are loaded on startup.\
|
echo Additional *.lua files in "%CMDER_USER_CONFIG%" are loaded on startup.\
|
||||||
)
|
)
|
||||||
"%CMDER_ROOT%\vendor\clink\clink_x%architecture%.exe" inject --quiet --profile "%CMDER_USER_CONFIG%" --scripts "%CMDER_ROOT%\vendor"
|
"%CMDER_ROOT%\vendor\clink\clink_x%architecture%.exe" inject --quiet --profile "%CMDER_USER_CONFIG%" --scripts "%CMDER_ROOT%\vendor" --nolog
|
||||||
) else (
|
) else (
|
||||||
if not exist "%CMDER_ROOT%\config\settings" (
|
if not exist "%CMDER_ROOT%\config\settings" (
|
||||||
echo Generating clink initial settings in "%CMDER_ROOT%\config\settings"
|
echo Generating clink initial settings in "%CMDER_ROOT%\config\settings"
|
||||||
copy "%CMDER_ROOT%\vendor\clink_settings.default" "%CMDER_ROOT%\config\settings"
|
copy "%CMDER_ROOT%\vendor\clink_settings.default" "%CMDER_ROOT%\config\settings"
|
||||||
echo Additional *.lua files in "%CMDER_ROOT%\config" are loaded on startup.
|
echo Additional *.lua files in "%CMDER_ROOT%\config" are loaded on startup.
|
||||||
)
|
)
|
||||||
"%CMDER_ROOT%\vendor\clink\clink_x%architecture%.exe" inject --quiet --profile "%CMDER_ROOT%\config" --scripts "%CMDER_ROOT%\vendor"
|
"%CMDER_ROOT%\vendor\clink\clink_x%architecture%.exe" inject --quiet --profile "%CMDER_ROOT%\config" --scripts "%CMDER_ROOT%\vendor" --nolog
|
||||||
)
|
)
|
||||||
) else (
|
) else (
|
||||||
%lib_console% verbose_output "WARNING: Incompatible 'ComSpec/Shell' Detetected Skipping Clink Injection!"
|
%lib_console% verbose_output "WARNING: Incompatible 'ComSpec/Shell' Detetected Skipping Clink Injection!"
|
||||||
|
8
vendor/sources.json
vendored
8
vendor/sources.json
vendored
@ -1,8 +1,8 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"name": "git-for-windows",
|
"name": "git-for-windows",
|
||||||
"version": "v2.21.0.windows.1",
|
"version": "v2.23.0.windows.1",
|
||||||
"url": "https://github.com/git-for-windows/git/releases/download/v2.21.0.windows.1/PortableGit-2.21.0-64-bit.7z.exe"
|
"url": "https://github.com/git-for-windows/git/releases/download/v2.23.0.windows.1/PortableGit-2.23.0-64-bit.7z.exe"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "clink",
|
"name": "clink",
|
||||||
@ -11,8 +11,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "conemu-maximus5",
|
"name": "conemu-maximus5",
|
||||||
"version": "180626",
|
"version": "190714",
|
||||||
"url": "https://github.com/Maximus5/ConEmu/releases/download/v18.06.26/ConEmuPack.180626.7z"
|
"url": "https://github.com/Maximus5/ConEmu/releases/download/v19.07.14/ConEmuPack.190714.7z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "clink-completions",
|
"name": "clink-completions",
|
||||||
|
Loading…
Reference in New Issue
Block a user