<commit_before>#!/bin/bash

cd ~

if [ ! -d ~/.dotfiles ]; then
  git clone <EMAIL>:madson/dotfiles.git .dotfiles || exit 1
fi

if [ ! -d ~/.dotfiles ]; then
  echo "You need to clone dotfiles repository"
  exit 1
fi

if [ -f ~/.bash_profile ]
then
	echo "Backing up your ~/.bash_profile file into ~/.bash_profile_original"
	cp ~/.bash_profile ~/.bash_profile_original

	echo "Changing .bash_profile..."
	cat ~/.dotfiles/bash_init >> ~/.bash_profile
fi

echo "Creating links..."
for file in $(ls ~/.dotfiles/bash_inc*)
do
  ln -s $file ~/.$file
done

cd -

echo "Done."

<commit_msg>Changing to ~/.dotfiles to proceed install<commit_after>#!/bin/bash

if [ ! -d ~/.dotfiles ]; then
  git clone <EMAIL>:madson/dotfiles.git ~/.dotfiles || exit 1
fi

if [ ! -d ~/.dotfiles ]; then
  echo "You need to clone dotfiles repository"
  exit 1
fi

if [ -f ~/.bash_profile ]
then
	echo "Backing up your ~/.bash_profile file into ~/.bash_profile_original"
	cp ~/.bash_profile ~/.bash_profile_original

	echo "Changing .bash_profile..."
	cat ~/.dotfiles/bash_init >> ~/.bash_profile
fi

echo "Creating links..."
cd ~/.dotfiles
for file in $(ls bash_inc*)
do
  ln -s $file ~/.$file
done
cd -

echo "Done."


{'fraction_non_alphanumeric': 0.1567476948868399, 'fraction_numerical': 0.003352891869237217, 'mean_word_length': 3.1458333333333335, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, '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': '1937187', 'n_tokens_mistral': 469, 'n_tokens_neox': 435, 'n_words': 138}