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

__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

bottle_dir="$__dir/bottle"
opener_dir="$__dir/opener"

config_dir="$HOME/.config"
[[ -d $config_dir ]] || mkdir "$config_dir"

backup_dir="$HOME/.dotfiles.bak"
[[ -d $backup_dir ]] || mkdir "$backup_dir"

os=`uname`
if [[ $os != 'Darwin' ]]; then
  os_id=`sed -n 's/^ID=\(.*\)$/\1/p' /etc/os-release`
  os_id_like=`sed -n 's/^ID_LIKE=\(.*\)$/\1/p' /etc/os-release`
fi

function log() {
  echo "  ○ $@"
}

function command_exist() {<commit_msg>create ~/.cache/<commit_after>#!/usr/bin/env bash

__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

bottle_dir="$__dir/bottle"
opener_dir="$__dir/opener"

config_dir="$HOME/.config"
[[ -d $config_dir ]] || mkdir "$config_dir"

cache_dir="$HOME/.cache"
[[ -d $cache_dir ]] || mkdir "$cache_dir"

backup_dir="$HOME/.dotfiles.bak"
[[ -d $backup_dir ]] || mkdir "$backup_dir"

os=`uname`
if [[ $os != 'Darwin' ]]; then
  os_id=`sed -n 's/^ID=\(.*\)$/\1/p' /etc/os-release`
  os_id_like=`sed -n 's/^ID_LIKE=\(.*\)$/\1/p' /etc/os-release`
fi

function log() {
  echo "  ○ $@"
}

function command_exist() {
{'fraction_non_alphanumeric': 0.2677787532923617, 'fraction_numerical': 0.0052677787532923615, 'mean_word_length': 4.253456221198157, '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': '3324127', 'n_tokens_mistral': 527, 'n_tokens_neox': 510, 'n_words': 82}