anchor.diff:  :: launching bash once to initialize user home dir
   call %Start_cmd% whoami
   
  -set BashFunkLoader_sh=%CYGWIN_ROOT%\home\%CYGWIN_USERNAME%\.bashfunk_loader
  -echo Creating [%BashFunkLoader_sh%]...
  -(
  -    echo #!/usr/bin/env bash
  -    echo if [[ ! -e /opt/bash-funk/bash-funk.sh ]]; then
  -    echo   echo Installing [bash-funk]...
  -    echo   if hash git ^&^>/dev/null; then
  -    echo     git clone https://github.com/vegardit/bash-funk --branch master --single-branch /opt/bash-funk
  -    echo   elif hash svn ^&^>/dev/null; then
  -    echo     svn checkout https://github.com/vegardit/bash-funk/trunk /opt/bash-funk
  -    echo   else
  -    echo     mkdir /opt/bash-funk ^&^& \
  -    echo     cd /opt/bash-funk ^&^& \
  -    echo     wget -qO- --show-progress https://github.com/vegardit/bash-funk/tarball/master ^| tar -xzv --strip-components 1
  -    echo   fi
  -    echo fi
  -    echo source /opt/bash-funk/bash-funk.sh
  -) >"%BashFunkLoader_sh%" || goto :fail
  -"%CYGWIN_ROOT%\bin\dos2unix" "%BashFunkLoader_sh%" || goto :fail
  -
   set Bashrc_sh=%CYGWIN_ROOT%\home\%CYGWIN_USERNAME%\.bashrc
   echo Adding bash-funk to [/home/%CYGWIN_USERNAME%/.bashrc]...
  -find "bashfunk_loader" "%Bashrc_sh%" >NUL || (
  +find "bash-funk" "%Bashrc_sh%" >NUL || (
       (
           echo.
  -        echo source ~/.bashfunk_loader
  +        if not "%PROXY_HOST%" == "" (
  +            echo if [[ $HOSTMAME == "%COMPUTERNAME%" ]]; then
  +            echo     export http_proxy=http://%PROXY_HOST%:%PROXY_PORT%
  +            echo     export https_proxy=$http_proxy
  +            echo     export no_proxy="::1,127.0.0.1,localhost,169.254.169.254,%COMPUTERNAME%,*.%USERDNSDOMAIN%"
  +            echo     export HTTP_PROXY=$http_proxy
  +            echo     export HTTPS_PROXY=$http_proxy
  +            echo     export NO_PROXY=$no_proxy
  +            echo fi
  +        )
  +        echo.
  +        echo source /opt/bash-funk/bash-funk.sh
       ) >>"%Bashrc_sh%" || goto :fail
       "%CYGWIN_ROOT%\bin\dos2unix" "%Bashrc_sh%" || goto :fail
   )
  
positive.code:     echo.
  ) >"%DOWNLOADER%" || goto :fail
  
  set CYGWIN_ROOT=%~dp0cygwin
  
  if not exist "%CYGWIN_ROOT%" (
      md "%CYGWIN_ROOT%"
  )
  
  :: download Cygwin 32 or 64 setup exe
  
  if "%PROCESSOR_ARCHITEW6432%" == "AMD64" (
  
negative.code:     if not "%PROXY_HOST%" == "" (
          echo     # temporary proxy settings during initial installation
          echo     export http_proxy=http://%PROXY_HOST%:%PROXY_PORT%
          echo     export https_proxy=$http_proxy
      )
      echo     echo "Installing apt-cyg..."
      echo     wget -O /usr/local/bin/apt-cyg https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg
  