<commit_before># Add fzf to path if installed locally
[ -d ~/.fzf/bin ] && export PATH="$PATH:$HOME/.fzf/bin"

if which fzf &>/dev/null; then
  # Show hidden files
  export FZF_DEFAULT_COMMAND='(\
    ag --hidden -l ||\
    find -L . ! -type d | cut -c3- | tail -n+2\
    ) 2>/dev/null'
  export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"

  # Color scheme and file preview
  FZF_PREVIEWER='((x={}; x="${x/#\~/$HOME}"; pygmentize "$x" || less "$x") 2>/dev/null)'<commit_msg>forgot to add dot to ag in fzf command<commit_after># Add fzf to path if installed locally
[ -d ~/.fzf/bin ] && export PATH="$PATH:$HOME/.fzf/bin"

if which fzf &>/dev/null; then
  # Show hidden files
  export FZF_DEFAULT_COMMAND='(\
    ag --hidden -l . ||\
    find -L . ! -type d | cut -c3- | tail -n+2\
    ) 2>/dev/null'
  export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"

  # Color scheme and file preview
  FZF_PREVIEWER='((x={}; x="${x/#\~/$HOME}"; pygmentize "$x" || less "$x") 2>/dev/null)'
{'fraction_non_alphanumeric': 0.19424460431654678, 'fraction_numerical': 0.008221993833504625, 'mean_word_length': 3.180257510729614, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '4128067', 'n_tokens_mistral': 401, 'n_tokens_neox': 392, 'n_words': 103}