<commit_before>alias UI.Color.IsAvailable='[ $(tput colors 2>/dev/null || echo 0) -ge 16 ] && [ -t 1 ]'
if UI.Color.IsAvailable
then
  alias UI.Color.Default="echo \$'\033[0m'"

  alias UI.Color.Black="echo \$'\033[0;30m'"
  alias UI.Color.Red="echo \$'\033[0;31m'"
  alias UI.Color.Green="echo \$'\033[0;32m'"
  alias UI.Color.Yellow="echo \$'\033[0;33m'"
  alias UI.Color.Blue="echo \$'\033[0;34m'"
  alias UI.Color.Magenta="echo \$'\033[0;35m'"
  alias UI.Color.Cyan="echo \$'\033[0;36m'"
  alias UI.Color.LightGray="echo \$'\033[0;37m'"

  alias UI.Color.DarkGray="echo \$'\033[0;90m'"
  alias UI.Color.LightRed="echo \$'\033[0;91m'"
  alias UI.Color.LightGreen="echo \$'\033[0;92m'"
  alias UI.Color.LightYellow="echo \$'\033[0;93m'"
  alias UI.Color.LightBlue="echo \$'\033[0;94m'"
  alias UI.Color.LightMagenta="echo \$'\033[0;95m'"
  alias UI.Color.LightCyan="echo \$'\033[0;96m'"
  alias UI.Color.White="echo \$'\033[0;97m'"

  # flags
  alias UI.Color.Bold="echo \$'\033[1m'"
  alias UI.Color.Dim="echo \$'\033[2m'"
  alias UI.Color.Italics="echo \$'\033[3m'"
  alias UI.Color.Underline="echo \$'\033[4m'"
  alias UI.Color.Blink="echo \$'\033[5m'"
  alias UI.Color.Invert="echo \$'\033[7m'"
  alias UI.Color.Invisible="echo \$'\033[8m'"

  alias UI.Color.NoBold="echo \$'\033[21m'"
  alias UI.Color.NoDim="echo \$'\033[22m'"
  alias UI.Color.NoItalics="echo \$'\033[23m'"
  alias UI.Color.NoUnderline="echo \$'\033[24m'"
  alias UI.Color.NoBlink="echo \$'\033[25m'"
  alias UI.Color.NoInvert="echo \$'\033[27m'"
  alias UI.Color.NoInvisible="echo \$'\033[28m'"
else
  alias UI.Color.Default="echo"

  alias UI.Color.Black="echo"
  alias UI.Color.Red="echo"
  alias UI.Color.Green="echo"
  alias UI.Color.Yellow="echo"
  alias UI.Color.Blue="echo"
  alias UI.Color.Magenta="echo"
  alias UI.Color.Cyan="echo"
  alias UI.Color.LightGray="echo"

  alias UI.Color.DarkGray="echo"
  alias UI.Color.LightRed="echo"
  alias UI.Color.LightGreen="echo"
  alias UI.Color.LightYellow="echo"
  alias UI.Color.LightBlue="echo"
  alias UI.Color.LightMagenta="echo"
  alias UI.Color.LightCyan="echo"
  alias UI.Color.White="echo"

  # flags
  alias UI.Color.Bold="echo"
  alias UI.Color.Dim="echo"
  alias UI.Color.Underline="echo"
  alias UI.Color.Blink="echo"
  alias UI.Color.Invert="echo"
  alias UI.Color.Invisible="echo"

  alias UI.Color.NoBold="echo"
  alias UI.Color.NoDim="echo"
  alias UI.Color.NoUnderline="echo"
  alias UI.Color.NoBlink="echo"
  alias UI.Color.NoInvert="echo"
  alias UI.Color.NoInvisible="echo"
fi

alias UI.Powerline.IsAvailable="UI.Color.IsAvailable && test -z \${NO_UNICODE-} && (echo -e $'\u1F3B7' | grep -v F3B7) &> /dev/null"
if UI.Powerline.IsAvailable
then
  alias UI.Powerline.PointingArrow="echo -e $'\u27a1'"
  alias UI.Powerline.ArrowLeft="echo -e $'\ue0b2'"
  alias UI.Powerline.ArrowRight="echo -e $'\ue0b0'"
  alias UI.Powerline.ArrowRightDown="echo -e $'\u2198'"
  alias UI.Powerline.ArrowDown="echo -e $'\u2B07'"
  alias UI.Powerline.PlusMinus="echo -e $'\ue00b1'"
  alias UI.Powerline.Branch="echo -e $'\ue0a0'"
  alias UI.Powerline.RefersTo="echo -e $'\u27a6'"
  alias UI.Powerline.OK="echo -e $'\u2714'"
  alias UI.Powerline.Fail="echo -e $'\u2718'"
  alias UI.Powerline.Lightning="echo -e $'\u26a1'"
  alias UI.Powerline.Cog="echo -e $'\u2699'"
  alias UI.Powerline.Heart="echo -e $'\u2764'"

  # colorful
  alias UI.Powerline.Star="echo -e $'\u2b50'"
  alias UI.Powerline.Saxophone="echo -e $'\U1F3B7'"
  alias UI.Powerline.ThumbsUp="echo -e $'\U1F44D'"
else
  alias UI.Powerline.PointingArrow="echo '~'"
  alias UI.Powerline.ArrowLeft="echo '<'"
  alias UI.Powerline.ArrowRight="echo '>'"
  alias UI.Powerline.ArrowRightDown="echo '>'"
  alias UI.Powerline.ArrowDown="echo '_'"
  alias UI.Powerline.PlusMinus="echo '+-'"
  alias UI.Powerline.Branch="echo '|}'"
  alias UI.Powerline.RefersTo="echo '*'"
  alias UI.Powerline.OK="echo '+'"
  alias UI.Powerline.Fail="echo 'x'"
  alias UI.Powerline.Lightning="echo '!'"
  alias UI.Powerline.Cog="echo '{*}'"
  alias UI.Powerline.Heart="echo '<3'"

  # colorful<commit_msg>fix: unicode number for ArrowLeft & ArrowRight (#49)<commit_after>alias UI.Color.IsAvailable='[ $(tput colors 2>/dev/null || echo 0) -ge 16 ] && [ -t 1 ]'
if UI.Color.IsAvailable
then
  alias UI.Color.Default="echo \$'\033[0m'"

  alias UI.Color.Black="echo \$'\033[0;30m'"
  alias UI.Color.Red="echo \$'\033[0;31m'"
  alias UI.Color.Green="echo \$'\033[0;32m'"
  alias UI.Color.Yellow="echo \$'\033[0;33m'"
  alias UI.Color.Blue="echo \$'\033[0;34m'"
  alias UI.Color.Magenta="echo \$'\033[0;35m'"
  alias UI.Color.Cyan="echo \$'\033[0;36m'"
  alias UI.Color.LightGray="echo \$'\033[0;37m'"

  alias UI.Color.DarkGray="echo \$'\033[0;90m'"
  alias UI.Color.LightRed="echo \$'\033[0;91m'"
  alias UI.Color.LightGreen="echo \$'\033[0;92m'"
  alias UI.Color.LightYellow="echo \$'\033[0;93m'"
  alias UI.Color.LightBlue="echo \$'\033[0;94m'"
  alias UI.Color.LightMagenta="echo \$'\033[0;95m'"
  alias UI.Color.LightCyan="echo \$'\033[0;96m'"
  alias UI.Color.White="echo \$'\033[0;97m'"

  # flags
  alias UI.Color.Bold="echo \$'\033[1m'"
  alias UI.Color.Dim="echo \$'\033[2m'"
  alias UI.Color.Italics="echo \$'\033[3m'"
  alias UI.Color.Underline="echo \$'\033[4m'"
  alias UI.Color.Blink="echo \$'\033[5m'"
  alias UI.Color.Invert="echo \$'\033[7m'"
  alias UI.Color.Invisible="echo \$'\033[8m'"

  alias UI.Color.NoBold="echo \$'\033[21m'"
  alias UI.Color.NoDim="echo \$'\033[22m'"
  alias UI.Color.NoItalics="echo \$'\033[23m'"
  alias UI.Color.NoUnderline="echo \$'\033[24m'"
  alias UI.Color.NoBlink="echo \$'\033[25m'"
  alias UI.Color.NoInvert="echo \$'\033[27m'"
  alias UI.Color.NoInvisible="echo \$'\033[28m'"
else
  alias UI.Color.Default="echo"

  alias UI.Color.Black="echo"
  alias UI.Color.Red="echo"
  alias UI.Color.Green="echo"
  alias UI.Color.Yellow="echo"
  alias UI.Color.Blue="echo"
  alias UI.Color.Magenta="echo"
  alias UI.Color.Cyan="echo"
  alias UI.Color.LightGray="echo"

  alias UI.Color.DarkGray="echo"
  alias UI.Color.LightRed="echo"
  alias UI.Color.LightGreen="echo"
  alias UI.Color.LightYellow="echo"
  alias UI.Color.LightBlue="echo"
  alias UI.Color.LightMagenta="echo"
  alias UI.Color.LightCyan="echo"
  alias UI.Color.White="echo"

  # flags
  alias UI.Color.Bold="echo"
  alias UI.Color.Dim="echo"
  alias UI.Color.Underline="echo"
  alias UI.Color.Blink="echo"
  alias UI.Color.Invert="echo"
  alias UI.Color.Invisible="echo"

  alias UI.Color.NoBold="echo"
  alias UI.Color.NoDim="echo"
  alias UI.Color.NoUnderline="echo"
  alias UI.Color.NoBlink="echo"
  alias UI.Color.NoInvert="echo"
  alias UI.Color.NoInvisible="echo"
fi

alias UI.Powerline.IsAvailable="UI.Color.IsAvailable && test -z \${NO_UNICODE-} && (echo -e $'\u1F3B7' | grep -v F3B7) &> /dev/null"
if UI.Powerline.IsAvailable
then
  alias UI.Powerline.PointingArrow="echo -e $'\u27a1'"
  alias UI.Powerline.ArrowLeft="echo -e $'\u25c0'"
  alias UI.Powerline.ArrowRight="echo -e $'\u25b6'"
  alias UI.Powerline.ArrowRightDown="echo -e $'\u2198'"
  alias UI.Powerline.ArrowDown="echo -e $'\u2B07'"
  alias UI.Powerline.PlusMinus="echo -e $'\ue00b1'"
  alias UI.Powerline.Branch="echo -e $'\ue0a0'"
  alias UI.Powerline.RefersTo="echo -e $'\u27a6'"
  alias UI.Powerline.OK="echo -e $'\u2714'"
  alias UI.Powerline.Fail="echo -e $'\u2718'"
  alias UI.Powerline.Lightning="echo -e $'\u26a1'"
  alias UI.Powerline.Cog="echo -e $'\u2699'"
  alias UI.Powerline.Heart="echo -e $'\u2764'"

  # colorful
  alias UI.Powerline.Star="echo -e $'\u2b50'"
  alias UI.Powerline.Saxophone="echo -e $'\U1F3B7'"
  alias UI.Powerline.ThumbsUp="echo -e $'\U1F44D'"
else
  alias UI.Powerline.PointingArrow="echo '~'"
  alias UI.Powerline.ArrowLeft="echo '<'"
  alias UI.Powerline.ArrowRight="echo '>'"
  alias UI.Powerline.ArrowRightDown="echo '>'"
  alias UI.Powerline.ArrowDown="echo '_'"
  alias UI.Powerline.PlusMinus="echo '+-'"
  alias UI.Powerline.Branch="echo '|}'"
  alias UI.Powerline.RefersTo="echo '*'"
  alias UI.Powerline.OK="echo '+'"
  alias UI.Powerline.Fail="echo 'x'"
  alias UI.Powerline.Lightning="echo '!'"
  alias UI.Powerline.Cog="echo '{*}'"
  alias UI.Powerline.Heart="echo '<3'"

  # colorful
{'fraction_non_alphanumeric': 0.20371956441942982, 'fraction_numerical': 0.05530404992046984, 'mean_word_length': 4.12155388471178, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '1823291', 'n_tokens_mistral': 3570, 'n_tokens_neox': 3273, 'n_words': 563}