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

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

# Auto-completion
# ---------------
[[ $- == *i* ]] && source "/usr/local/opt/fzf/shell/completion.zsh" 2> /dev/null

# Key bindings
# ------------
source "/usr/local/opt/fzf/shell/key-bindings.zsh"

<commit_msg>Updated fzf.zsh to work under both linuxbrew and homebrew<commit_after>if (( $+commands[fzf] )); then
    if [[ -d "$HOME/.linuxbrew" ]]; then
        local OPT_PATH="$HOME/.linuxbrew/opt"
    else
        local OPT_PATH='/usr/local/opt'
    fi

    # Setup fzf
    # ---------
    if [[ ! "$PATH" == *$OPT_PATH/fzf/bin* ]]; then
      export PATH="$PATH:$OPT_PATH/fzf/bin"
    fi

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

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

    # Key bindings
    # ------------
    source "$OPT_PATH/fzf/shell/key-bindings.zsh"
fi

{'fraction_non_alphanumeric': 0.2585669781931464, 'fraction_numerical': 0.001557632398753894, 'mean_word_length': 2.103864734299517, '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': '285174', 'n_tokens_mistral': 524, 'n_tokens_neox': 497, 'n_words': 83}