<commit_before>#!/bin/sh
set -e

PROMPT="▶ "

enter() {
    IFS='%'
    type $PROMPT
    type $1
    sleep 0.5
    type " "
    sleep 0.25
    type "\n"
    eval $1
    type "\n"
    unset IFS
}

type() {
    printf '%b' $1 | pv -qL $[10+(-2 + RANDOM%5)]
}

enter "fd"

enter "fd mod"

enter "fd sh"

enter "fd -H sample"

enter "fd -h"<commit_msg>Demonstrate -e and --exec flags<commit_after>#!/bin/sh
set -e

PROMPT="▶ "

enter() {
    IFS='%'
    type $PROMPT
    type $1
    sleep 0.5
    printf '%b' " ⏎\n"
    sleep 0.1
    eval $1
    type "\n"
    unset IFS
}

type() {
    printf '%b' $1 | pv -qL $[10+(-2 + RANDOM%5)]
}

enter "fd"

enter "fd -e md"

enter "fd -e md --exec wc -l"

enter "fd mod"

enter "fd sh"

enter "fd -H sample"

enter "fd -h"
{'fraction_non_alphanumeric': 0.18733509234828497, 'fraction_numerical': 0.030343007915567283, 'mean_word_length': 1.9764705882352942, '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': '2677832', 'n_tokens_mistral': 366, 'n_tokens_neox': 354, 'n_words': 106}