<commit_before># Line colors
__mk5_normal="\[\e[0m\]"
__mk5_red="\[\e[0;31m\]"
__mk5_green="\[\e[0;32m\]"
__mk5_yellow="\[\e[0;33m\]"
__mk5_blue="\[\e[0;34m\]"
__mk5_purple="\[\e[0;35m\]"
__mk5_cyan="\[\e[0;36m\]"
__mk5_white="\[\e[0;37m\]"
__mk5_b_red="\[\e[1;31m\]"
__mk5_b_green="\[\e[1;32m\]"
__mk5_b_yellow="\[\e[1;33m\]"
__mk5_b_blue="\[\e[1;34m\]"
__mk5_b_purple="\[\e[1;35m\]"
__mk5_b_cyan="\[\e[1;36m\]"
__mk5_b_white="\[\e[1;37m\]"

# Special characters
#__mk5_top_connector='┌ '
#__mk5_bot_connector='└ '
__mk5_usr_pchar='>'
__mk5_root_pchar='#'
__mk5_dirty_char='*'
__mk5_incoming_char='v'
__mk5_behindmaster_char='>'
__mk5_outgoing_char='^'

__mk5_hostname="${HOSTNAME%%.*}"
__mk5_home="$(readlink -f "$HOME" 2>/dev/null)"

__mk5_git_branch() {
  git rev-parse --abbrev-ref HEAD 2>/dev/null
}

__mk5_git_dirty() {
  git status -s --ignore-submodules=dirty 2>/dev/null | wc -l |\
    awk '{print $1}'
}

__mk5_git_outgoing() {
  git rev-list --left-only --count ...@{u} 2>/dev/null || echo '!'
}

__mk5_set_prompt() {
  # Grab status code first
  local last_status="$?"<commit_msg>more propmting<commit_after># Line colors
__mk5_normal="\[\e[0m\]"
__mk5_red="\[\e[0;31m\]"
__mk5_green="\[\e[0;32m\]"
__mk5_yellow="\[\e[0;33m\]"
__mk5_blue="\[\e[0;34m\]"
__mk5_purple="\[\e[0;35m\]"
__mk5_cyan="\[\e[0;36m\]"
__mk5_white="\[\e[0;37m\]"
__mk5_b_red="\[\e[1;31m\]"
__mk5_b_green="\[\e[1;32m\]"
__mk5_b_yellow="\[\e[1;33m\]"
__mk5_b_blue="\[\e[1;34m\]"
__mk5_b_purple="\[\e[1;35m\]"
__mk5_b_cyan="\[\e[1;36m\]"
__mk5_b_white="\[\e[1;37m\]"

# Special characters
__mk5_usr_pchar='>'
__mk5_root_pchar='#'
__mk5_dirty_char='*'
__mk5_outgoing_char='^'

__mk5_hostname="${HOSTNAME%%.*}"
__mk5_home="$(readlink -f "$HOME" 2>/dev/null)"

__mk5_git_branch() {
  git rev-parse --abbrev-ref HEAD 2>/dev/null
}

__mk5_git_dirty() {
  git status --porcelain 2>/dev/null | wc -l | awk '{print $1}'
}

__mk5_git_outgoing() {
  git rev-list --left-only --count ...@{u} 2>/dev/null || echo '!'
}

__mk5_set_prompt() {
  # Grab status code first
  local last_status="$?"
{'fraction_non_alphanumeric': 0.2566715186802523, 'fraction_numerical': 0.07278020378457059, 'mean_word_length': 5.173652694610778, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 14, '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': '7120237', 'n_tokens_mistral': 1105, 'n_tokens_neox': 1057, 'n_words': 125}