<commit_before>function show_return_status
    if test $status -eq 0
	set_color normal
	printf '😊 '
    else
	set_color $fish_color_error
	printf '😧 '
    end
end	

function fish_prompt
    printf '\n'
    show_return_status

#    set_color normal
    set datestring (date +"%a %b %_d %R:%S")
    set_color $fish_color_autosuggestion
    printf '[%s] ' $datestring

    set_color green
    printf '%s' (whoami)
    set_color normal
    printf '@'
    set_color blue
    printf '%s' (hostname)
    set_color normal
    printf ':'

    set_color -o green
    printf '%s ' (prompt_pwd)
    set_color normal

    printf '%s' (fish_git_prompt)
    
    printf '\n💰 '
    set_color normal
end
<commit_msg>I broke the return status display with having a printf first<commit_after>function show_return_status
    if test $argv[1] -eq 0
	set_color normal
	printf '😊 '
    else
	set_color $fish_color_error
	printf '😧 '
    end
end	

function fish_prompt
    set -l old_return_status $status
    printf '\n'
    show_return_status $old_return_status

#    set_color normal
    set -l datestring (date +"%a %b %_d %R:%S")
    set_color $fish_color_autosuggestion
    printf '[%s] ' $datestring

    set_color green
    printf '%s' (whoami)
    set_color normal
    printf '@'
    set_color blue
    printf '%s' (hostname)
    set_color normal
    printf ':'

    set_color -o green
    printf '%s ' (prompt_pwd)
    set_color normal

    printf '%s' (fish_git_prompt)
    
    printf '\n💰 '
    set_color normal
end

{'fraction_non_alphanumeric': 0.09036544850498339, 'fraction_numerical': 0.0019933554817275745, 'mean_word_length': 2.793450881612091, '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': '3928156', 'n_tokens_mistral': 544, 'n_tokens_neox': 539, 'n_words': 154}