<commit_before>#!/bin/bash

if [ -f "$HOME/.profile" ]; then
    . "$HOME/.profile"
fi

# Where are we?
src="${BASH_SOURCE[0]}"
dir="$( dirname "$src" )"
while [ -h "$src" ]
do 
  src="$(readlink "$src")"
  [[ $src != /* ]] && src="$dir/$source"
  dir="$( cd -P "$( dirname "$src"  )" && pwd )"
done
dir="$( cd -P "$( dirname "$src" )" && pwd )"

export DOTFILES="$( dirname "$dir" )"

# Source all bash dotfiles.
for file in $(find "$DOTFILES/etc/bash_profile.d" -type f); do
  . "$file"
done

if [ -e ~/.bash_profile_local ]; then
  . ~/.bash_profile_local
fi<commit_msg>Source local bash profile before dotfiles.<commit_after>#!/bin/bash

if [ -e ~/.bash_profile_before ]; then
  . ~/.bash_profile_before
fi

# Where are we?
src="${BASH_SOURCE[0]}"
dir="$( dirname "$src" )"
while [ -h "$src" ]
do 
  src="$(readlink "$src")"
  [[ $src != /* ]] && src="$dir/$source"
  dir="$( cd -P "$( dirname "$src"  )" && pwd )"
done
dir="$( cd -P "$( dirname "$src" )" && pwd )"

export DOTFILES="$( dirname "$dir" )"

# Source all bash dotfiles.
for file in $(find "$DOTFILES/etc/bash_profile.d" -type f); do
  . "$file"
done
{'fraction_non_alphanumeric': 0.24529991047448524, 'fraction_numerical': 0.0017905102954341987, 'mean_word_length': 3.526315789473684, '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': '4700020', 'n_tokens_mistral': 465, 'n_tokens_neox': 419, 'n_words': 116}