mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
Fix #1245: Allow alias value to contain '=' characters
This commit is contained in:
parent
81d83d4c6d
commit
3b7a24b20a
@ -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