<commit_before># Setup fzf
# ---------
if [[ ! "$PATH" == *$HOME/.fzf/bin* ]]; then
  export PATH="$PATH:$HOME/.fzf/bin"
fi

# Man path
# --------
if [[ ! "$MANPATH" == *$HOME/.fzf/man* && -d "$HOME/.fzf/man" ]]; then
  export MANPATH="$MANPATH:$HOME/.fzf/man"
fi

# Auto-completion
# ---------------
[[ $- == *i* ]] && source "$HOME/.fzf/shell/completion.bash" 2> /dev/null

complete -o bashdefault -o default -F _fzf_path_completion v

# Key bindings
# ------------
source "$HOME/.fzf/shell/key-bindings.bash"

# Custom settings
# ---------------
export FZF_DEFAULT_COMMAND='rg --files --sortr=modified'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
<commit_msg>Remove fzf bash completion (for performance)<commit_after># Setup fzf
# ---------
if [[ ! "$PATH" == *$HOME/.fzf/bin* ]]; then
  export PATH="$PATH:$HOME/.fzf/bin"
fi

# Man path
# --------
if [[ ! "$MANPATH" == *$HOME/.fzf/man* && -d "$HOME/.fzf/man" ]]; then
  export MANPATH="$MANPATH:$HOME/.fzf/man"
fi

complete -o bashdefault -o default -F _fzf_path_completion v

# Key bindings
# ------------
source "$HOME/.fzf/shell/key-bindings.bash"

# Custom settings
# ---------------
export FZF_DEFAULT_COMMAND='rg --files --sortr=modified'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"

{'fraction_non_alphanumeric': 0.25757575757575757, 'fraction_numerical': 0.0007974481658692185, 'mean_word_length': 2.814589665653495, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '1827442', 'n_tokens_mistral': 494, 'n_tokens_neox': 473, 'n_words': 93}