mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 17:59:11 +08:00
Pass arguments to user-profile.cmd
This commit is contained in:
parent
dc8e572ca5
commit
a06d4e93ec
4
vendor/init.bat
vendored
4
vendor/init.bat
vendored
@ -290,14 +290,14 @@ if not defined HOME set "HOME=%USERPROFILE%"
|
|||||||
set "initialConfig=%CMDER_ROOT%\config\user-profile.cmd"
|
set "initialConfig=%CMDER_ROOT%\config\user-profile.cmd"
|
||||||
if exist "%CMDER_ROOT%\config\user-profile.cmd" (
|
if exist "%CMDER_ROOT%\config\user-profile.cmd" (
|
||||||
REM Create this file and place your own command in there
|
REM Create this file and place your own command in there
|
||||||
call "%CMDER_ROOT%\config\user-profile.cmd"
|
call "%CMDER_ROOT%\config\user-profile.cmd" %*
|
||||||
)
|
)
|
||||||
|
|
||||||
if defined CMDER_USER_CONFIG (
|
if defined CMDER_USER_CONFIG (
|
||||||
set "initialConfig=%CMDER_USER_CONFIG%\user-profile.cmd"
|
set "initialConfig=%CMDER_USER_CONFIG%\user-profile.cmd"
|
||||||
if exist "%CMDER_USER_CONFIG%\user-profile.cmd" (
|
if exist "%CMDER_USER_CONFIG%\user-profile.cmd" (
|
||||||
REM Create this file and place your own command in there
|
REM Create this file and place your own command in there
|
||||||
call "%CMDER_USER_CONFIG%\user-profile.cmd"
|
call "%CMDER_USER_CONFIG%\user-profile.cmd" %*
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user