<commit_before>source /etc/unuxus/env

if [[ "$OSTYPE" == darwin* ]] ; then
    # Use zsh-completions from Homebrew if installed
    [ -d /usr/local/share/zsh-completions ]  && fpath=(/usr/local/share/zsh-completions $fpath)

    # if zsh is install with Homebrew, warn if system zsh is shell
    local homebrewZsh=/usr/local/bin/zsh
    if [[ -f $homebrewZsh ]] && [[ $SHELL == "/bin/zsh" ]] ; then
        echo "Warning: Shell is /bin/zsh but zsh is also install in $homebrewZsh"
    fi

    if [[ $homebrewZsh == $SHELL ]] ; then
        # Use git completion from system zsh.
        local git_completion=/usr/share/zsh/5.0.8/functions/_git
        if [[ -f $git_completion ]] ; then
            local fpathDir=${0:h}/unuxus_fpath
            command rm -rf $fpathDir
            mkdir -p $fpathDir
            fpath=($fpathDir $fpath)<commit_msg>Detect newest  git completion in zsh<commit_after>source /etc/unuxus/env

if [[ "$OSTYPE" == darwin* ]] ; then
    # Use zsh-completions from Homebrew if installed
    [ -d /usr/local/share/zsh-completions ]  && fpath=(/usr/local/share/zsh-completions $fpath)

    # if zsh is install with Homebrew, warn if system zsh is shell
    local homebrewZsh=/usr/local/bin/zsh
    if [[ -f $homebrewZsh ]] && [[ $SHELL == "/bin/zsh" ]] ; then
        echo "Warning: Shell is /bin/zsh but zsh is also install in $homebrewZsh"
    fi

    if [[ $homebrewZsh == $SHELL ]] ; then
        # Use git completion from system zsh.
        local git_completion=$(echo /usr/share/zsh/*/functions/_git(N[-1]))
        if [[ -f "$git_completion" ]] ; then
            local fpathDir=${0:h}/unuxus_fpath
            command rm -rf $fpathDir
            mkdir -p $fpathDir
            fpath=($fpathDir $fpath)
{'fraction_non_alphanumeric': 0.13536866359447006, 'fraction_numerical': 0.0034562211981566822, 'mean_word_length': 2.4532803180914513, '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': '6851875', 'n_tokens_mistral': 621, 'n_tokens_neox': 599, 'n_words': 157}