<commit_before>@setlocal enabledelayedexpansion enableextensions
@echo off

set _tempvbs=%LocalAppData%\getadmin.vbs
set swapDir=".vim\swap"

:: Check for admin permissions
Net Session >nul 2>&1

:: If error flag set, we do not have admin.
if ERRORLEVEL 1 (
  echo Requesting administrative privileges and restarting...
  goto rerun_script_elevated
)

call :command_exists "choco"
if ERRORLEVEL 1 (
  powershell -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))"
  set PATH="%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
)
call :command_exists "git"
if ERRORLEVEL 1 (
  powershell -ExecutionPolicy Bypass -Command "choco install -y git"
)
call :command_exists "vim"
if ERRORLEVEL 1 (
  powershell -ExecutionPolicy Bypass -Command "choco install -y vim"
)

:: Script should be in the root of the dot-files directory - wherever that is.
call :directory_name_from_path fileRoot %0

pushd %fileRoot%

if not exist %swapDir% (
  mkdir %swapDir%
)

if not exist ".vim\bundle\Vundle.vim" (
  echo "Cloning Vundle into .vim/bundle/Vundle.vim"
  git clone https://github.com/gmarik/Vundle.vim.git .vim\bundle\Vundle.vim<commit_msg>Remove automatic installation of chocolatey, vim, and git.<commit_after>@setlocal enabledelayedexpansion enableextensions
@echo off

set _tempvbs=%LocalAppData%\getadmin.vbs
set swapDir=".vim\swap"

:: Check for admin permissions
Net Session >nul 2>&1

:: If error flag set, we do not have admin.
if ERRORLEVEL 1 (
  echo Requesting administrative privileges and restarting...
  goto rerun_script_elevated
)

call :command_exists "choco"
if ERRORLEVEL 1 (
  echo No chocolatey.
)
call :command_exists "git"
if ERRORLEVEL 1 (
  echo No git.
)
call :command_exists "vim"
if ERRORLEVEL 1 (
  echo No vim.
)

:: Script should be in the root of the dot-files directory - wherever that is.
call :directory_name_from_path fileRoot %0

pushd %fileRoot%

if not exist %swapDir% (
  mkdir %swapDir%
)

if not exist ".vim\bundle\Vundle.vim" (
  echo "Cloning Vundle into .vim/bundle/Vundle.vim"
  git clone https://github.com/gmarik/Vundle.vim.git .vim\bundle\Vundle.vim
{'fraction_non_alphanumeric': 0.10018639328984157, 'fraction_numerical': 0.006989748369058714, 'mean_word_length': 4.533505154639175, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '698326', 'n_tokens_mistral': 747, 'n_tokens_neox': 703, 'n_words': 226}