<commit_before># Fish git prompt
set __fish_git_prompt_showdirtystate 'yes'
set __fish_git_prompt_showstashstate 'yes'
set __fish_git_prompt_showuntrackedfiles 'yes'
set __fish_git_prompt_showupstream 'yes'
set __fish_git_prompt_color_branch yellow
set __fish_git_prompt_color_upstream_ahead green
set __fish_git_prompt_color_upstream_behind red

# Status Chars
set __fish_git_prompt_char_dirtystate '⚡'
set __fish_git_prompt_char_stagedstate '→'
set __fish_git_prompt_char_untrackedfiles '☡'
set __fish_git_prompt_char_stashstate '↩'
set __fish_git_prompt_char_upstream_ahead '+'
set __fish_git_prompt_char_upstream_behind '-'
set __fish_git_prompt_char_upstream_equal ''

function fish_prompt
  set -l last_status $status
  if not set -q __fish_prompt_hostname
    set -g __fish_prompt_hostname (hostname | cut -d . -f 1)
  end
  if not set -q __fish_prompt_user
    set -g __fish_prompt_user (set_color $fish_color_user)
  end
  if not set -q __fish_prompt_host
    set -g __fish_prompt_host (set_color $fish_color_host)
  end
  if not set -q __fish_prompt_normal
    set -g __fish_prompt_normal (set_color normal)
  end
  if not set -q __fish_prompt_cwd
    set -g __fish_prompt_cwd (set_color $fish_color_cwd)
  end
  if not test $last_status -eq 0
    set fish_prompt_status (set_color $fish_color_error)
  end
  if [ $USER != "armin" ]
    printf '%s%s%s@%s%s ' \
      $__fish_prompt_user $USER \
      $__fish_prompt_normal \
      $__fish_prompt_host $__fish_prompt_hostname
  end
  printf '%s%s%s%s%s> ' \
    $__fish_prompt_cwd (prompt_pwd) \<commit_msg>fix bug in fish_prompt<commit_after># Fish git prompt
set __fish_git_prompt_showdirtystate 'yes'
set __fish_git_prompt_showstashstate 'yes'
set __fish_git_prompt_showuntrackedfiles 'yes'
set __fish_git_prompt_showupstream 'yes'
set __fish_git_prompt_color_branch yellow
set __fish_git_prompt_color_upstream_ahead green
set __fish_git_prompt_color_upstream_behind red

# Status Chars
set __fish_git_prompt_char_dirtystate '⚡'
set __fish_git_prompt_char_stagedstate '→'
set __fish_git_prompt_char_untrackedfiles '☡'
set __fish_git_prompt_char_stashstate '↩'
set __fish_git_prompt_char_upstream_ahead '+'
set __fish_git_prompt_char_upstream_behind '-'
set __fish_git_prompt_char_upstream_equal ''

function fish_prompt
  set -l last_status $status
  if not set -q __fish_prompt_hostname
    set -g __fish_prompt_hostname (hostname | cut -d . -f 1)
  end
  if not set -q __fish_prompt_user
    set -g __fish_prompt_user (set_color $fish_color_user)
  end
  if not set -q __fish_prompt_host
    set -g __fish_prompt_host (set_color $fish_color_host)
  end
  if not set -q __fish_prompt_normal
    set -g __fish_prompt_normal (set_color normal)
  end
  if not set -q __fish_prompt_cwd
    set -g __fish_prompt_cwd (set_color $fish_color_cwd)
  end
  if not test $last_status -eq 0
    set fish_prompt_status (set_color $fish_color_error)
  end
  if [ $USER != "armin" -a $USER != "onpage" ]
    printf '%s%s@%s%s%s ' \
      $__fish_prompt_user $USER \
      $__fish_prompt_normal \
      $__fish_prompt_host $__fish_prompt_hostname
  end
  printf '%s%s%s%s%s> ' \
    $__fish_prompt_cwd (prompt_pwd) \
{'fraction_non_alphanumeric': 0.06704617330803289, 'fraction_numerical': 0.001265022137887413, 'mean_word_length': 5.094412331406551, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7551212', 'n_tokens_mistral': 1272, 'n_tokens_neox': 1197, 'n_words': 276}