<commit_before>#!/bin/bash
dotFiles=`ls -a`
if [ ! -d "$HOME/dot_backup" ]; then
	mkdir $HOME/dot_backup
	for file in ${dotFiles:4}; do
		if [ -e "$HOME/$file" ]; then
			cp-r $HOME/$file $HOME/dot_backup/
		fi
	done
fi
for file in ${dotFiles:4}; do
	if [ "$file" != '.git' ] && [ "$file" != 'populate_home.sh' ] \
		&& [ "$file" != '.ssh' ]; then
		`rm -rf $HOME/$file` > /dev/null #BE careful with this
		ln -s $PWD/$file $HOME/ > /dev/null 
		err=$?
		if [ $err == 0 ]; then
			echo "$file put in Home"
		else echo "Trouble with $file"
		fi
	elif [ "$file" == '.ssh' ]; then
		mv $HOME/.ssh/config $HOME/.ssh/config_old \
			> /dev/null # Likely some won't have
		ln -s $PWD/.ssh/config $HOME/.ssh/config
		err=$?
		if [ $err == 0 ]; then
			echo "$file put in Home"
		else echo "Trouble with $file"
		fi
	fi
done

echo ""
echo ""
echo "Making sure git options set..."
git config --global user.name "<NAME>"
git config --global user.email "<EMAIL>"
git config color.ui true
echo "Git colors and user defaults set"<commit_msg>made color changes global<commit_after>#!/bin/bash
dotFiles=`ls -a`
if [ ! -d "$HOME/dot_backup" ]; then
	mkdir $HOME/dot_backup
	for file in ${dotFiles:4}; do
		if [ -e "$HOME/$file" ]; then
			cp-r $HOME/$file $HOME/dot_backup/
		fi
	done
fi
for file in ${dotFiles:4}; do
	if [ "$file" != '.git' ] && [ "$file" != 'populate_home.sh' ] \
		&& [ "$file" != '.ssh' ]; then
		`rm -rf $HOME/$file` > /dev/null #BE careful with this
		ln -s $PWD/$file $HOME/ > /dev/null 
		err=$?
		if [ $err == 0 ]; then
			echo "$file put in Home"
		else echo "Trouble with $file"
		fi
	elif [ "$file" == '.ssh' ]; then
		mv $HOME/.ssh/config $HOME/.ssh/config_old \
			> /dev/null # Likely some won't have
		ln -s $PWD/.ssh/config $HOME/.ssh/config
		err=$?
		if [ $err == 0 ]; then
			echo "$file put in Home"
		else echo "Trouble with $file"
		fi
	fi
done

echo ""
echo ""
echo "Making sure git options set..."
git config --global user.name "<NAME>"
git config --global user.email "<EMAIL>"
git config --global color.ui true
echo "Git colors and user defaults set"
{'fraction_non_alphanumeric': 0.1868078960038517, 'fraction_numerical': 0.0038517091959557053, 'mean_word_length': 2.898686679174484, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, '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': '1151934', 'n_tokens_mistral': 860, 'n_tokens_neox': 775, 'n_words': 261}