<commit_before>###############################################################################
# Base16 Shell
#
# A shell script to change your shell's default ANSI colors but most
# importantly, colors 17 to 21 of your shell's 256 colorspace (if supported by
# your terminal). This script makes it possible honor the original bright
# colors of your shell (e.g. bright green is still green and so on) whilst
# providing the additional base16 colors to applications such as Vim.
#
# https://github.com/chriskempson/base16-shell
###############################################################################

set_shell_theme() {
  BASE16_SHELL="$HOME/.config/base16-shell/base16-$1".sh
  [[ -s "$BASE16_SHELL" ]] && source "$BASE16_SHELL"
}
set_dark_shell_theme() {
  set_shell_theme "$1".dark
}
set_light_shell_theme() {
  set_shell_theme "$1".light
}

# Including favorites here for easier switching.

#set_dark_shell_theme "3024"
#set_dark_shell_theme "bespin"
#set_dark_shell_theme "brewer"
#set_dark_shell_theme "eighties"
#set_dark_shell_theme "google"
#set_dark_shell_theme "grayscale"
#set_dark_shell_theme "greenscreen"
#set_dark_shell_theme "isotope"        # close to original
#set_dark_shell_theme "shapeshifter"   # close to original
#set_dark_shell_theme "summerfruit"
#set_dark_shell_theme "tomorrow"
#set_dark_shell_theme "twilight"

set_dark_shell_theme "twilight"<commit_msg>Only set Base16 shell theme if `$TERM` is set.<commit_after>###############################################################################
# Base16 Shell
#
# A shell script to change your shell's default ANSI colors but most
# importantly, colors 17 to 21 of your shell's 256 colorspace (if supported by
# your terminal). This script makes it possible honor the original bright
# colors of your shell (e.g. bright green is still green and so on) whilst
# providing the additional base16 colors to applications such as Vim.
#
# https://github.com/chriskempson/base16-shell
###############################################################################

set_shell_theme() {
  BASE16_SHELL="$HOME/.config/base16-shell/base16-$1".sh
  [[ -s "$BASE16_SHELL" ]] && source "$BASE16_SHELL"
}
set_dark_shell_theme() {
  set_shell_theme "$1".dark
}
set_light_shell_theme() {
  set_shell_theme "$1".light
}

# Including favorites here for easier switching.

#set_dark_shell_theme "3024"
#set_dark_shell_theme "bespin"
#set_dark_shell_theme "brewer"
#set_dark_shell_theme "eighties"
#set_dark_shell_theme "google"
#set_dark_shell_theme "grayscale"
#set_dark_shell_theme "greenscreen"
#set_dark_shell_theme "isotope"        # close to original
#set_dark_shell_theme "shapeshifter"   # close to original
#set_dark_shell_theme "summerfruit"
#set_dark_shell_theme "tomorrow"
#set_dark_shell_theme "twilight"

if [[ -n "${TERM:-}" ]]
then
  set_dark_shell_theme "twilight"
fi
{'fraction_non_alphanumeric': 0.1983876621100596, 'fraction_numerical': 0.021731510690501228, 'mean_word_length': 6.610666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2994010', 'n_tokens_mistral': 954, 'n_tokens_neox': 890, 'n_words': 240}