add cleanup of unused env vars

This commit is contained in:
Dax T. Games
2023-02-18 05:40:46 -08:00
parent 1e623ecab4
commit 3a2e747d22
3 changed files with 65 additions and 20 deletions

View File

@ -145,24 +145,28 @@ if not defined CMDER_CONFIGURED set CMDER_CONFIGURED=1
set CMDER_INIT_END=%time%
if "%CMDER_INIT_END%" neq "" if "%CMDER_INIT_START%" neq "" (
"%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
set architecture_bits=""
set CMDER_ALIASES=""
set CMDER_INIT_END=""
set CMDER_INIT_START=""
set debug_output=""
set fast_init=""
set max_depth=""
set nix_tools=""
set path_position=""
set print_debug=""
set print_error=""
set print_verbose=""
set print_warning=""
set time_init=""
set verbose_output=""
set architecture_bits=
set CMDER_ALIASES=
set CMDER_INIT_END=
set CMDER_INIT_START=
set CMDER_USER_FLAGS=
set debug_output=
set fast_init=
set max_depth=
set nix_tools=
set path_position=
set print_debug=
set print_error=
set print_verbose=
set print_warning=
set time_init=
set verbose_output=
set user_aliases=
exit /b