Add /f for fast init. by daxgames · Pull Request #1942 · cmderdev/cmder

The below enables Cmder Fast Init mode for cmd.exe sessions. This is more like the Cmder 1.3.5 init process. See issue #1821

Cmder Fast Init mode bypasses or disables the following Cmder 1.3.6+ features:

  • Git root and version detection. Defaults to %cmder_root%\vendor\git-for-windows if it exists.
  • Path enhance validation before path modify so %Path% enhancements are forced.
  • Recursive path add for "%CMDER_ROOT%\bin"
  • Recursive path add for "%CMDER_USER_BIN%\bin" if /c [user_config_folder is specified.
  • /d switch to enable debug output.
  • /v switch to enable debug output.

Add /f to Cmder task as shown below t enable fast init:

Note 1: This setting is invalid in Cmder Powershell and Bash sessions~

Note 2: Add /t also to see init timer output

image

Cuts ~2.4 seconds off of init time.

image