Merge pull request #1252 from glucas/issue-1245

Fix #1245: Allow alias value to contain '=' characters
This commit is contained in:
Benjamin Staneck 2017-02-10 01:08:06 +01:00 committed by GitHub
commit 2bb5ce0986

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
)