<commit_before>#!/bin/sh -e

get_status()
{
    status=$?

    if [ $status -ne 0 ]; then
        echo "$(tput setaf 1)$status$(tput sgr0) "
    fi
}

export PS1="\$(get_status)$PS1"<commit_msg>Tweak PS1<commit_after>#!/bin/sh -e

get_status()
{
    status=$?

    if [ $status -ne 0 ]; then
        echo "$(tput setaf 1)$status$(tput sgr0)"
    fi
}

export PS1="\$(get_status)\n$PS1"
{'fraction_non_alphanumeric': 0.19480519480519481, 'fraction_numerical': 0.02857142857142857, 'mean_word_length': 2.86, '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': '2314956', 'n_tokens_mistral': 171, 'n_tokens_neox': 158, 'n_words': 34}