<commit_before>#!/usr/bin/env bash
set -e

# verbose relative symbolic force
lnoptions="-vrsf"

mkdir -p "$HOME/.config/alacritty"
ln $lnoptions "$(pwd)/alacritty.yml" "$HOME/.config/alacritty/"

mkdir -p "$HOME/.config/dive"
ln $lnoptions "$(pwd)/dive.yaml" "$HOME/.config/dive/"

mkdir -p "$HOME/.config/htop"
ln $lnoptions "$(pwd)/htoprc" "$HOME/.config/htop/"

mkdir -p "$HOME/.config/paru"
ln $lnoptions "$(pwd)/paru.conf" "$HOME/.config/paru/"
<commit_msg>refactor(configs): simplify install script<commit_after>#!/usr/bin/env bash
set -e

function link() {
    mkdir -p "$(dirname "$2")"
    # verbose relative symbolic force
    ln -vrsf "$1" "$2"
}

link "$(pwd)/alacritty.yml" "$HOME/.config/alacritty/alacritty.yml"
link "$(pwd)/dive.yaml" "$HOME/.config/dive/dive.yaml"
link "$(pwd)/htoprc" "$HOME/.config/htop/htoprc"
link "$(pwd)/paru.conf" "$HOME/.config/paru/paru.conf"

{'fraction_non_alphanumeric': 0.21670428893905191, 'fraction_numerical': 0.003386004514672686, 'mean_word_length': 4.2176470588235295, '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': '3937674', 'n_tokens_mistral': 378, 'n_tokens_neox': 350, 'n_words': 70}