<commit_before>
# -------------------------------------------------------------------------
# Prompt
# -------------------------------------------------------------------------

# Echo the currently active Python virtual environment.
function prompt_virtualenv() {
    if [ -n "$VIRTUAL_ENV" ]; then
        echo "($(basename $VIRTUAL_ENV)) "
    fi
}

export PS1="
\[$purple\]\$(prompt_virtualenv)\[$green\]\u@\h \[$yellow\]\w
\[$normal\]\!: \$ "<commit_msg>Set window title<commit_after>
# -------------------------------------------------------------------------
# Prompt
# -------------------------------------------------------------------------

# Echo the currently active Python virtual environment.
function prompt_virtualenv() {
    if [ -n "$VIRTUAL_ENV" ]; then
        echo "($(basename $VIRTUAL_ENV)) "
    fi
}

# Set the window title.
title "$USER@$HOSTNAME"

# Set the prompt.
export PS1="
\[$purple\]\$(prompt_virtualenv)\[$green\]\u@\h \[$yellow\]\w
\[$normal\]\!: \$ "
{'fraction_non_alphanumeric': 0.43218623481781376, 'fraction_numerical': 0.0020242914979757085, 'mean_word_length': 1.2026726057906458, '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': '1311435', 'n_tokens_mistral': 269, 'n_tokens_neox': 254, 'n_words': 59}