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

source_all() {
  for file in $@ ; do
    if [ -f $file ]; then
      source $file
    fi
  done
}

source_all `find $DOTFILES_HOME/src -path '*/preload/*sh'`

source_all `find $DOTFILES_HOME/src -path '*sh' ! -name 'include.sh' ! -path '*/preload/*sh' ! -path '*/install/*'`

for bin_dir in `find $DOTFILES_HOME -path '*/bin'` ; do
  add_to_path $bin_dir
done

unset file
unset bin_dir<commit_msg>Don't try and source files in .git directories<commit_after>#! /usr/bin/env bash

source_all() {
  for file in $@ ; do
    if [ -f $file ]; then
      source $file
    fi
  done
}

source_all `find $DOTFILES_HOME/src -path '*/preload/*sh'`

source_all `find $DOTFILES_HOME/src -path '*sh' ! -name 'include.sh' ! -path '*/preload/*sh' ! -path '*/install/*' ! -path '*/.git/*'`

for bin_dir in `find $DOTFILES_HOME -path '*/bin'` ; do
  add_to_path $bin_dir
done

unset file
unset bin_dir
{'fraction_non_alphanumeric': 0.16630434782608697, 'fraction_numerical': 0.0, 'mean_word_length': 3.2247706422018347, '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': '5160115', 'n_tokens_mistral': 377, 'n_tokens_neox': 368, 'n_words': 102}