mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
Merge pull request #1252 from glucas/issue-1245
Fix #1245: Allow alias value to contain '=' characters
This commit is contained in:
commit
2bb5ce0986
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user