anchor.diff:  
   :: ========================================================================
   
  -:shell.mintty
  -setlocal
  -
  -set "mintty_bin=%~dp0vendors\%~1\%~2\mintty.exe"
  -
  -if not exist "%mintty_bin%" (
  -	endlocal
  -	exit /b 1
  -)
  -
  +:shell.start
  +start "%SHELL_NAME% starting" "%~dp0vendors\%SHELL_NAME%\%~2" %SHELL_ARGS%
  +goto :EOF
  +
  +:: ========================================================================
  +
  +:shell.git-bash.prepare
  +goto :EOF
  +
  +:: ========================================================================
  +
  +:shell.bare.prepare
  +set "SHELL_ARGS=--login -i"
  +goto :EOF
  +
  +:: ========================================================================
  +
  +:shell.mintty.prepare
   if not exist "%HOME%\.minttyrc" if exist "%~dp0etc\mintty\default.settings" (
   	copy /b "%~dp0etc\mintty\default.settings" "%HOME%\.minttyrc"
   )
   
  -set "mintty_args=-c "%HOME%\.minttyrc""
  +set "SHELL_ARGS=-c "%HOME%\.minttyrc""
   
   if exist "%~dp0etc\images\%~1.ico" (
  -	set "mintty_args=%mintty_args% -i "%~dp0etc\images\%~1.ico""
  -)
  -
  -endlocal && start "%~1 starting" "%mintty_bin%" %mintty_args% /%~2/bash --login -i
  -exit /b 0
  -
  -:: ========================================================================
  -
  -:shell.consolez
  +	set "SHELL_ARGS=%SHELL_ARGS% -i "%~dp0etc\images\%~1.ico""
  +)
  +
  +set "SHELL_ARGS=%SHELL_ARGS% /%~2/bash --login -i"
  +goto :EOF
  +
  +:: ========================================================================
  +
  +:shell.consolez.prepare
   if not exist "%~dp0etc\ConsoleZ\%~1.xml" exit /b 1
  -start "%~1 starting" "%~dp0vendors\%SHELL_NAME%\Console.exe" -c "%~dp0etc\ConsoleZ\%~1.xml" -t "%~1"
  -exit /b 0
  -
  -:: ========================================================================
  -
  -:shell.conemu
  -call :shell.conemu.prepare.2 FILE "%~1" && goto :EOF
  -call :shell.conemu.prepare.2 CONF "%~1" && goto :EOF
  -call :shell.conemu.prepare.2 TASK "%~1" && goto :EOF
  -exit /b 1
  -
  -:shell.conemu.prepare.2
  -setlocal
  -
  +set "SHELL_ARGS=-c "%~dp0etc\ConsoleZ\%~1.xml" -t "%~1""
  +goto :EOF
  +
  +:: ========================================================================
  +
  +:shell.conemu.prepare
  +call :shell.conemu.prepare.args FILE "%~1" && goto :EOF
  +call :shell.conemu.prepare.args CONF "%~1" && goto :EOF
  +call :shell.conemu.prepare.args TASK "%~1" && goto :EOF
  +goto :EOF
  +
  +:shell.conemu.prepare.args
   if "%~1" == "FILE" (
   	set "SHELL_ARGS=%~dp0etc\ConEmu\%~2.xml"
   ) else (
  
positive.code: 
  :: ========================================================================
  
  :: Check if specific runner exists
  set "SHELL_RUNNER="
  if exist "%~dp0etc\%~n0\%~1.bat" call "%~dp0etc\%~n0\%~1.bat"
  if defined SHELL_RUNNER if exist "%~dp0vendors\%~1\%SHELL_RUNNER%" (
  	start "%~1 starting" "%~dp0vendors\%~1\%SHELL_RUNNER%"
  	goto :EOF
  )
  
  :: ========================================================================
  
  :: Check if mintty is available
  for %%s in (
  	bin
  	usr\bin
  	usr\local\bin
  ) do (
  	call :shell.mintty "%~1" "%%~s" && goto :EOF
  )
  
  :: ========================================================================
  
  :: Check if ConEmu is available
  set "SHELL_NAME=ConEmu"
  if exist "%~dp0vendors\ConEmu.bat" call "%~dp0vendors\ConEmu.bat"
  if exist "%~dp0vendors\%SHELL_NAME%\ConEmu.exe" (
  	call :shell.conemu "%~1" && goto :EOF
  )
  
  :: ========================================================================
  
  :: Check if ConsoleZ is available
  set "SHELL_NAME=ConsoleZ"
  if exist "%~dp0vendors\ConsoleZ.bat" call "%~dp0vendors\ConsoleZ.bat"
  if exist "%~dp0vendors\%SHELL_NAME%\Console.exe" (
  	call :shell.consolez "%~1" && goto :EOF
  )
  
  :: ========================================================================
  
  :: Try bare bash, ksh or sh
  for %%s in (
  	bash
  	ksh
  	sh
  ) do if exist "%~dp0vendors\%~1\bin\%%~s.exe" (
  	start "%~1 starting" "%~dp0vendors\%~1\bin\%%~s.exe" -l -i
  	goto :EOF
  )
  
  :: ========================================================================
  
  >&2 echo:Cannot find the specified shell "%~1".
  
  :: ========================================================================
  
  :shell.failed
  >&2 pause
  
negative.code: 	set "SHELL_ARGS=%SHELL_ARGS% /Cmd "{%~2}""
  )
  
  goto :EOF
  
  :: ========================================================================
  
  