<commit_before># Fixes colors in tmux
if [[ -z $TMUX ]]; then
    # may be xterm-256 depending on your distro
    if [ -e /usr/share/terminfo/x/xterm+256color ]; then
        export TERM='xterm-256color'
    else
        export TERM='xterm'
    fi
else
    if [ -e /usr/share/terminfo/s/screen-256color ]; then
        export TERM='screen-256color'
    else
        export TERM='screen'
    fi
fi
<commit_msg>tmux: choose correct terminal in linux<commit_after>TERMINFO_DIR="/usr/share/terminfo"
[[ "$(uname -s)" == "Linux" ]] && TERMINFO_DIR="/lib/terminfo"

# Fixes colors in tmux
if [[ -z $TMUX ]]; then
    # may be xterm-256 depending on your distro
    if [ -e $TERMINFO_DIR/x/xterm+256color ]; then
        export TERM='xterm-256color'
    else
        export TERM='xterm'
    fi
else
    if [ -e $TERMINFO_DIR/s/screen-256color ]; then
        export TERM='screen-256color'
    else
        export TERM='screen'
    fi
fi

unset TERMINFO_DIR

{'fraction_non_alphanumeric': 0.12421052631578948, 'fraction_numerical': 0.031578947368421054, 'mean_word_length': 2.6159695817490496, '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': '5724581', 'n_tokens_mistral': 373, 'n_tokens_neox': 339, 'n_words': 87}