mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-13 03:09:10 +08:00
Update init.bat
This commit is contained in:
parent
22d27afed5
commit
3ea6d51ba4
8
vendor/init.bat
vendored
8
vendor/init.bat
vendored
@ -159,15 +159,9 @@ if not defined HOME set "HOME=%USERPROFILE%"
|
|||||||
|
|
||||||
:: This is either a env variable set by the user or the result of
|
:: This is either a env variable set by the user or the result of
|
||||||
:: cmder.exe setting this variable due to a commandline argument or a "cmder here"
|
:: cmder.exe setting this variable due to a commandline argument or a "cmder here"
|
||||||
setlocal enabledelayedexpansion
|
|
||||||
if defined CMDER_START (
|
if defined CMDER_START (
|
||||||
if "%CMDER_START:~-1%" neq "\" (
|
pushd "%CMDER_START%"
|
||||||
SET "CMDER_START=%CMDER_START%\"
|
|
||||||
)
|
|
||||||
|
|
||||||
pushd "!CMDER_START!"
|
|
||||||
)
|
)
|
||||||
endlocal
|
|
||||||
|
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user