<commit_before># shellcheck shell=bash disable=1090

function __dotfiles_exports_pyenv() {
  local pyenv_dir_path

  if is-mac-os; then
    pyenv_dir_path="$(get-brew-prefix-path pyenv)"
  else
    pyenv_dir_path="${HOME}/.pyenv"
  fi

  export PYENV_ROOT="$pyenv_dir_path"
  export PATH="${PYENV_ROOT}/bin:${PATH}"

  if is-command pyenv; then
    eval "$(pyenv init -)"
  fi
}

__dotfiles_exports_pyenv<commit_msg>refactor(exports): use `prepend-to-path` in `exports/pyenv.sh`<commit_after># shellcheck shell=bash disable=1090

function __dotfiles_exports_pyenv() {
  local pyenv_dir_path

  if is-mac-os; then
    pyenv_dir_path="$(get-brew-prefix-path pyenv)"
  else
    pyenv_dir_path="${HOME}/.pyenv"
  fi

  export PYENV_ROOT="$pyenv_dir_path"

  prepend-to-path "${PYENV_ROOT}/bin"

  if is-command pyenv; then
    eval "$(pyenv init -)"
  fi
}

__dotfiles_exports_pyenv
{'fraction_non_alphanumeric': 0.12984054669703873, 'fraction_numerical': 0.009111617312072893, 'mean_word_length': 4.49375, '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': '2307531', 'n_tokens_mistral': 352, 'n_tokens_neox': 333, 'n_words': 61}