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

path="$DOTFILES_PATH"

[[ -z "$path" ]] && path="$HOME/.dotfiles"
source "$path"/scripts/load.sh

[[ ! -e "$path/config" ]] && mkdir "$path/config"
dinstall "$path/scripts/default-modules" modules "$path/config"

for module in "$path"/modules/*; do
  [[ ! -d $module ]] && return

  dinstall "$module/config" `basename $module` "$path/config"
  dload "$module/install"
done

echo -e "${dgreen}Dotfiles installed${ddefault}"<commit_msg>Fix bug where install script did not set DOTFILES_PATH<commit_after>#!/usr/bin/env bash

[[ -z "$DOTFILES_PATH" ]] && DOTFILES_PATH="$HOME/.dotfiles"

[[ -z "$path" ]] && path="$HOME/.dotfiles"
source "$path"/scripts/load.sh

[[ ! -e "$path/config" ]] && mkdir "$path/config"
dinstall "$path/scripts/default-modules" modules "$path/config"

for module in "$path"/modules/*; do
  [[ ! -d $module ]] && return

  dinstall "$module/config" `basename $module` "$path/config"
  dload "$module/install"
done

echo -e "${dgreen}Dotfiles installed${ddefault}"
{'fraction_non_alphanumeric': 0.20743639921722112, 'fraction_numerical': 0.0, 'mean_word_length': 4.715083798882682, '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': '2312739', 'n_tokens_mistral': 369, 'n_tokens_neox': 354, 'n_words': 81}