mirror of
https://github.com/cmderdev/cmder.git
synced 2025-02-11 16:00:21 +08:00
cleanup
This commit is contained in:
parent
3a2e747d22
commit
9cbc1845fb
7
vendor/init.bat
vendored
7
vendor/init.bat
vendored
@ -561,9 +561,12 @@ if defined CMDER_USER_CONFIG (
|
|||||||
:CMDER_CONFIGURED
|
:CMDER_CONFIGURED
|
||||||
if not defined CMDER_CONFIGURED set CMDER_CONFIGURED=1
|
if not defined CMDER_CONFIGURED set CMDER_CONFIGURED=1
|
||||||
set CMDER_INIT_END=%time%
|
set CMDER_INIT_END=%time%
|
||||||
call "%cmder_root%\vendor\bin\timer.cmd" "%CMDER_INIT_START%" "%CMDER_INIT_END%"
|
|
||||||
|
|
||||||
:: Cleanup
|
if "%CMDER_INIT_END%" neq "" if "%CMDER_INIT_START%" neq "" (
|
||||||
|
call "%cmder_root%\vendor\bin\timer.cmd" "%CMDER_INIT_START%" "%CMDER_INIT_END%"
|
||||||
|
)
|
||||||
|
|
||||||
|
:CLEANUP
|
||||||
set architecture_bits=
|
set architecture_bits=
|
||||||
set CMDER_ALIASES=
|
set CMDER_ALIASES=
|
||||||
set CMDER_INIT_END=
|
set CMDER_INIT_END=
|
||||||
|
4
vendor/user_init.cmd.template
vendored
4
vendor/user_init.cmd.template
vendored
@ -58,8 +58,8 @@ goto :SKIP_CLINK
|
|||||||
prompt `$E[1;32;49m`$P`$S`$_`$E[1;30;49mλ`$S`$E[0m
|
prompt `$E[1;32;49m`$P`$S`$_`$E[1;30;49mλ`$S`$E[0m
|
||||||
|
|
||||||
chcp %cp%>nul
|
chcp %cp%>nul
|
||||||
:CLINK_FINISH
|
|
||||||
|
|
||||||
|
:CLINK_FINISH
|
||||||
if not defined GIT_INSTALL_ROOT set "GIT_INSTALL_ROOT=$env:GIT_INSTALL_ROOT"
|
if not defined GIT_INSTALL_ROOT set "GIT_INSTALL_ROOT=$env:GIT_INSTALL_ROOT"
|
||||||
if not defined SVN_SSH set "SVN_SSH=$env:SVN_SSH"
|
if not defined SVN_SSH set "SVN_SSH=$env:SVN_SSH"
|
||||||
if not defined git_locale set git_locale=$env:git_locale
|
if not defined git_locale set git_locale=$env:git_locale
|
||||||
@ -148,7 +148,7 @@ if "%CMDER_INIT_END%" neq "" if "%CMDER_INIT_START%" neq "" (
|
|||||||
call "%cmder_root%\vendor\bin\timer.cmd" "%CMDER_INIT_START%" "%CMDER_INIT_END%"
|
call "%cmder_root%\vendor\bin\timer.cmd" "%CMDER_INIT_START%" "%CMDER_INIT_END%"
|
||||||
)
|
)
|
||||||
|
|
||||||
:: Cleanup
|
:CLEANUP
|
||||||
set architecture_bits=
|
set architecture_bits=
|
||||||
set CMDER_ALIASES=
|
set CMDER_ALIASES=
|
||||||
set CMDER_INIT_END=
|
set CMDER_INIT_END=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user