<commit_before>#!/bin/sh
VIMRC_HOME=~/.hydro_vimrc

warn() {
    echo "$1" >&2
}

die() {
    warn "$1"
    exit 1
}

[ -e "$VIMRC_HOME/vimrc" ] && die "$VIMRC_HOME/vimrc already exists."
[ -e "~/.vimrc" ] && die "~/.vimrc already exists."

git clone <EMAIL>:kwokhou/hydro-vimrc.git "$VIMRC_HOME"

cd "$VIMRC_HOME"

ln -sf `pwd`/vimrc ~/.vimrc

echo "hydro-vimrc is installed."<commit_msg>Change clone to use https instead of git protocal<commit_after>#!/bin/sh
VIMRC_HOME=~/.hydro_vimrc

warn() {
    echo "$1" >&2
}

die() {
    warn "$1"
    exit 1
}

[ -e "$VIMRC_HOME/vimrc" ] && die "$VIMRC_HOME/vimrc already exists."
[ -e "~/.vimrc" ] && die "~/.vimrc already exists."

git clone https://github.com/kwokhou/hydro-vimrc.git "$VIMRC_HOME"

cd "$VIMRC_HOME"

ln -sf `pwd`/vimrc ~/.vimrc

echo "hydro-vimrc is installed."
{'fraction_non_alphanumeric': 0.19636363636363635, 'fraction_numerical': 0.009696969696969697, 'mean_word_length': 3.3703703703703702, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, 'https://': 1, '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': '589985', 'n_tokens_mistral': 384, 'n_tokens_neox': 351, 'n_words': 81}