<commit_before>#!/bin/sh

DEPENDS="fish exa" 
MAKEDEPENDS="curl"

module_install() {
    if fish -c "! type omf 2>&1 >/dev/null"; then
        curl -L https://get.oh-my.fish | fish
    fi

    fish -c "omf install agnoster"
    fish -c "omf theme agnoster"
}<commit_msg>Add --noninteractive option to omf install<commit_after>#!/bin/sh

DEPENDS="fish exa" 
MAKEDEPENDS="curl"

module_install() {
    if fish -c "! type omf 2>&1 >/dev/null"; then
        echo
        echo "==> Downloading omf installer"
        curl -L https://get.oh-my.fish > /tmp/fish-install-omf

        echo
        echo "==> Running omf installer"
        chmod u+x /tmp/fish-install-omf
        /tmp/fish-install-omf --noninteractive
    fi

    echo "==> Setting omf theme"
    fish -c "omf install agnoster"
    fish -c "omf theme agnoster"
}
{'fraction_non_alphanumeric': 0.1391941391941392, 'fraction_numerical': 0.004884004884004884, 'mean_word_length': 2.4024896265560165, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1251424', 'n_tokens_mistral': 316, 'n_tokens_neox': 305, 'n_words': 80}