<commit_before>function fish_prompt
  if status --is-interactive
    # Colorize the CWD depending on permissions
    switch $USER
      case root
        set -g __paradox_prompt_pwd (set_color $fish_color_cwd_root)
        set -g __paradox_prompt_character (echo -s (set_color red) "!")
      case '*'
        set -g __paradox_prompt_pwd (set_color $fish_color_cwd)
        set -g __paradox_prompt_character (echo -s (set_color normal) "\$")
    end

    function __paradox_pwd
      echo -s "$__paradox_prompt_pwd" (prompt_pwd)
    end

    function __paradox_status
      if test $status -ne 0
        echo -s (set_color $fish_color_status) "[$last_status]"
      end
    end


    echo -e -s (__paradox_pwd) (__fish_git_prompt) (__paradox_git_hash) (__paradox_status) (set_color normal) "\n$__paradox_prompt_character "
  end
end<commit_msg>fish_prompt shouldnt end in newline<commit_after>function fish_prompt
  if status --is-interactive
    # Colorize the CWD depending on permissions
    switch $USER
      case root
        set -g __paradox_prompt_pwd (set_color $fish_color_cwd_root)
        set -g __paradox_prompt_character (echo -s (set_color red) "!")
      case '*'
        set -g __paradox_prompt_pwd (set_color $fish_color_cwd)
        set -g __paradox_prompt_character (echo -s (set_color normal) "\$")
    end

    function __paradox_pwd
      echo -s "$__paradox_prompt_pwd" (prompt_pwd)
    end

    function __paradox_status
      if test $status -ne 0
        echo -s (set_color $fish_color_status) "[$last_status]"
      end
    end


    echo -n -e -s (__paradox_pwd) (__fish_git_prompt) (__paradox_git_hash) (__paradox_status) (set_color normal) "\n$__paradox_prompt_character "
  end
end
{'fraction_non_alphanumeric': 0.08347927612375948, 'fraction_numerical': 0.0011675423234092236, 'mean_word_length': 3.130120481927711, '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': '3277636', 'n_tokens_mistral': 638, 'n_tokens_neox': 602, 'n_words': 152}