<commit_before>#!/usr/bin/env bash

# curl -sSL https://raw.githubusercontent.com/kikitux/home-kikitux/master/init.sh | bash

if [ -d ~/.git ]; then
  echo "err: home directrory already in git"
else
  pushd ~
  git init
  git config --global user.email "<EMAIL>"
  git config --global user.name "<NAME>"
  git remote add origin <EMAIL>:kikitux/home-kikitux
  [ -f .bashrc ] && rm .bashrc
  [ -f .bash_profile ] && rm .bash_profile
  git pull origin master
  git submodule update --init --recursive
fi

CLF=`dirname $(find /usr -name clang-format.py -print -quit)`
if [ "$CLF" ]; then
  grep $CLF ~/.vimrc &>/dev/null || {
    echo "map <C-K> :pyf $CLF/clang-format.py<cr>" | tee -a ~/.vimrc
    echo "imap <C-K> <c-o>:pyf $CLF/clang-format.py<cr>" | tee -a ~/.vimrc
  }
else
  echo "clang-format.py not found!"
fi
<commit_msg>added syntax enable to vimrc<commit_after>#!/usr/bin/env bash

# curl -sSL https://raw.githubusercontent.com/kikitux/home-kikitux/master/init.sh | bash

if [ -d ~/.git ]; then
  echo "err: home directrory already in git"
else
  pushd ~
  git init
  git config --global user.email "<EMAIL>"
  git config --global user.name "<NAME>"
  git remote add origin <EMAIL>:kikitux/home-kikitux
  [ -f .bashrc ] && rm .bashrc
  [ -f .bash_profile ] && rm .bash_profile
  git pull origin master
  git submodule update --init --recursive
fi

CLF=`dirname $(find /usr -name clang-format.py -print -quit)`
if [ "$CLF" ]; then
  grep $CLF ~/.vimrc &>/dev/null || {
    echo "map <C-K> :pyf $CLF/clang-format.py<cr>" | tee -a ~/.vimrc
    echo "imap <C-K> <c-o>:pyf $CLF/clang-format.py<cr>" | tee -a ~/.vimrc
  }
else
  echo "clang-format.py not found!"
fi
  
grep syntax ~/.vimrc &>/dev/null || {
  echo "syntax enable" | tee -a ~/.vimrc
}

{'fraction_non_alphanumeric': 0.1724728726442033, 'fraction_numerical': 0.0, 'mean_word_length': 2.9370786516853933, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 22, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '427263', 'n_tokens_mistral': 731, 'n_tokens_neox': 696, 'n_words': 194}