<commit_before>#!/bin/sh

# Install oh-my-zsh

if [ -x /usr/bin/zsh ]; then
    echo "Found zsh, installing oh-my-zsh"
    sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
else
    echo "Didn't find zsh, skipping oh-my-zsh installation"
fi<commit_msg>zsh: better way to check if zsh is installed<commit_after>#!/bin/sh

# Install oh-my-zsh

if hash zsh 2>/dev/null; then
    echo "Found zsh, installing oh-my-zsh"
    sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
else
    echo "Didn't find zsh, skipping oh-my-zsh installation"
fi
{'fraction_non_alphanumeric': 0.15161290322580645, 'fraction_numerical': 0.0016129032258064516, 'mean_word_length': 3.3732394366197185, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 2, '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': '563740', 'n_tokens_mistral': 257, 'n_tokens_neox': 241, 'n_words': 60}