Fix #1245: Allow alias value to contain '=' characters

This commit is contained in:
Greg Lucas 2017-02-09 13:53:35 -05:00
parent 81d83d4c6d
commit 3b7a24b20a

View File

@ -64,7 +64,7 @@ if "%aliases%" neq "%CMDER_ROOT%\config\user-aliases.cmd" (
)
:: validate alias
for /f "delims== tokens=1,2 usebackq" %%G in (`echo "%_x%"`) do (
for /f "delims== tokens=1,* usebackq" %%G in (`echo "%_x%"`) do (
set alias_name=%%G
set alias_value=%%H
)