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

cd "$(dirname "${BASH_SOURCE}")";

git pull origin master;

function update() {
    rsync -i --exclude ".git/" --exclude "update.sh" --exclude "README.md" --exclude "LICENSE" --exclude "*.swp" -avh --no-perms . ~;
}

echo "Updating you local dot files with the remote ones."

if [ "$1" == "--force" -o "$1" == "-f" ]; then
    update;
else
    read -p "  Are you sure? (y/n) " -n 1;
    echo "";
    if [[ $REPLY =~ ^[Yy]$ ]]; then
        update;
    fi;
fi;

unset update;
<commit_msg>Added better output to the update script<commit_after>#!/usr/bin/env bash

cd "$(dirname "${BASH_SOURCE}")";

echo "* Updating your local dot files with the remote ones."

git pull origin master;

function update() {
    echo "* Syncing your dot files."
    rsync -i --exclude ".git/" --exclude "update.sh" --exclude "README.md" --exclude "LICENSE" --exclude "*.swp" -avh --no-perms . ~;
}


if [ "$1" == "--force" -o "$1" == "-f" ]; then
    update;
else
    read -p "Are you sure? (y/n) " -n 1;
    echo "";
    if [[ $REPLY =~ ^[Yy]$ ]]; then
        update;
    fi;
fi;

unset update;

{'fraction_non_alphanumeric': 0.20413669064748202, 'fraction_numerical': 0.00539568345323741, 'mean_word_length': 2.5673076923076925, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6215548', 'n_tokens_mistral': 426, 'n_tokens_neox': 409, 'n_words': 135}