<commit_before>#! /usr/bin/env bash

#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"

if [[ "$(_check_command 'unzip')" == 1 ]];then
    if [[ ! -d "$HOME/.sdkman" ]]; then
        curl -s http://get.sdkman.io | bash
    fi
else
    _sh_log "${BASH_SOURCE[0]}" "SDKMAN requires 'unzip'!"
fi

v_sdkman() {
    # https://www.topbug.net/blog/2013/10/23/use-both-homebrew-and-macports-on-your-os-x/
    if [[ "$#" -le 0 ]];then
        echo "Usage: $0 command [arg1, arg2, ...]" >&2;
        return;
    fi

    ([[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"

    command=$1;

    shift

    $command $*)
}

_completion_register_write v_sdkman groovysh
_completion_register_write v_sdkman my_groovysh
_completion_register_write v_sdkman sdk

_completion_setup v_sdkman<commit_msg>fix: rm v_sdkman<commit_after>#! /usr/bin/env bash

#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"

if [[ "$(_check_command 'unzip')" == 1 ]];then
    if [[ ! -d "$HOME/.sdkman" ]]; then
        curl -s http://get.sdkman.io | bash
    fi
else
    _sh_log "${BASH_SOURCE[0]}" "SDKMAN requires 'unzip'!"
fi
{'fraction_non_alphanumeric': 0.17215815485996705, 'fraction_numerical': 0.014827018121911038, 'mean_word_length': 3.189655172413793, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, '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': '7567208', 'n_tokens_mistral': 499, 'n_tokens_neox': 465, 'n_words': 112}