<commit_before>#!/bin/bash

# Get the current directory
DIR="$( cd "$(dirname "$0" )" && pwd )"

# Link executable dot files to $HOME
for dotfile in $(find $DIR -type f -maxdepth 1 -name ".*"); do
    [ -x $dotfile ] || continue
    ln -fs $dotfile "${HOME}/$(basename $dotfile)"
done

# Create ~/.bashrc.d if it does not exist
[ -d "${HOME}/.bashrc.d" ] || mkdir "${HOME}/.bashrc.d"

# Link rc files in .bashrc.d
for dotfile in $DIR/.bashrc.d/*; do
    ln -fs $dotfile "${HOME}/.bashrc.d/$(basename $dotfile)"
done<commit_msg>Install bin directory<commit_after>#!/bin/bash

# Get the current directory
DIR="$( cd "$(dirname "$0" )" && pwd )"

# Link executable dot files to $HOME
for dotfile in $(find $DIR -type f -maxdepth 1 -name ".*"); do
    [ -x $dotfile ] || continue
    ln -fs $dotfile "${HOME}/$(basename $dotfile)"
done

# Link rc files in .bashrc.d
[ -d "${HOME}/.bashrc.d" ] || mkdir "${HOME}/.bashrc.d"
for dotfile in $DIR/.bashrc.d/*; do
    ln -fs $dotfile "${HOME}/.bashrc.d/$(basename $dotfile)"
done

# Link programs files in bin
[ -d "${HOME}/bin" ] || mkdir "${HOME}/bin"
for program in $DIR/bin/*; do
    [ -x $program ] || continue
    ln -fs $program "${HOME}/bin/$(basename $program)"
done
{'fraction_non_alphanumeric': 0.20658436213991768, 'fraction_numerical': 0.0032921810699588477, 'mean_word_length': 3.2968197879858656, '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': '3977477', 'n_tokens_mistral': 469, 'n_tokens_neox': 436, 'n_words': 143}