<commit_before>#!/bin/bash
#Copies relevant files to the correct locations
#$1 should be dir to copy to
if [[ -n "$1" ]] && [ -d $1 ];
then
	cp ../.bashrc $1
	cp ../.vimrc $1
	cp dirtags $1
	cp ../.gitconfig_global $1/.gitconfig
	cp ../gitignore_global $1/.gitignore
	cp ../.tmux.conf $1
	cp ../.ctags $1
	cp ../.ycm_extra_conf.py $1
	curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
	curl -fLo ~/.vim/colors/molokai.vim --create-dirs https://raw.githubusercontent.com/crr0004/molokai/master/colors/molokai.vim
	git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
	sudo pip install powerline-status
	if [[ -e "$(which dnf)" ]];
	then
		sudo dnf -y update && sudo dnf -y install vim-X11 tmux mpd ncmpcpp 
	fi
else
	echo "Must supply a directory to copy to. Suggest home directory of ~/"
fi
<commit_msg>Added RPM fusion for dnf based distros. Moved packages installs to the beginning<commit_after>#!/bin/bash
#Copies relevant files to the correct locations
#$1 should be dir to copy to
if [[ -n "$1" ]] && [ -d $1 ];
then
	sudo pip install powerline-status
	if [[ -e "$(which dnf)" ]];
	then
		su -c 'dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
		sudo dnf -y update && sudo dnf -y install vim-X11 tmux mpd ncmpcpp 
	fi
	cp ../.bashrc $1
	cp ../.vimrc $1
	cp dirtags $1
	cp ../.gitconfig_global $1/.gitconfig
	cp ../gitignore_global $1/.gitignore
	cp ../.tmux.conf $1
	cp ../.ctags $1
	cp ../.ycm_extra_conf.py $1
	curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
	curl -fLo ~/.vim/colors/molokai.vim --create-dirs https://raw.githubusercontent.com/crr0004/molokai/master/colors/molokai.vim
	git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
else
	echo "Must supply a directory to copy to. Suggest home directory of ~/"
fi

{'fraction_non_alphanumeric': 0.15797172111165286, 'fraction_numerical': 0.017552413456850317, 'mean_word_length': 3.248447204968944, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1953520', 'n_tokens_mistral': 856, 'n_tokens_neox': 774, 'n_words': 212}