From f687281be044ae9d968ce38546ef4fe884583062 Mon Sep 17 00:00:00 2001 From: Tian Date: Tue, 25 Jul 2017 05:14:17 +0800 Subject: [PATCH] Fixed quotation marks (#1360) 1. Changed " --login -i"" to "" --login -i" in ConEmu 2. Closed quotation in "alias.bat :p_del doskey" command of "%ALIASES%" Suppose %CMDER_ROOT% is "C:\Program Files\cmder", this BUG will be raised while we exec command of "unalias xxx" or creat terminal "{bash::bash}" and "{bash::mintty}", it will throws an error like: 'C:\Program' is not recognized as an internal or external command, operable program or batch file. --- bin/alias.bat | 2 +- config/ConEmu.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/alias.bat b/bin/alias.bat index cf5d07d..69497f6 100644 --- a/bin/alias.bat +++ b/bin/alias.bat @@ -96,7 +96,7 @@ set del_alias=%~1 findstr /b /v /i "%del_alias%=" "%ALIASES%" >> "%ALIASES%.tmp" type "%ALIASES%".tmp > "%ALIASES%" & @del /f /q "%ALIASES%.tmp" doskey %del_alias%= -doskey /macrofile=%ALIASES% +doskey /macrofile="%ALIASES%" goto:eof :p_reload diff --git a/config/ConEmu.xml b/config/ConEmu.xml index af06ef0..0be905d 100644 --- a/config/ConEmu.xml +++ b/config/ConEmu.xml @@ -548,14 +548,14 @@ - + - +