<commit_before>export CURRENT_SHELL="zsh"
export DOT_FILES=$(dirname $(dirname $(readlink $HOME/.zshrc)))

# Common functionality between Zsh and Bash
source $DOT_FILES/shell/common.sh

fpath=(
  ${plugins:+${0:h}/plugins/${^plugins}/{functions,completions}(/FN)}
  ${0:h}/{functions,completions}(/FN)
  $fpath
)

# Load and initialize the completion system ignoring insecure directories.
autoload -Uz compinit && compinit -i

# My ZSH customisations
source $DOT_FILES/zsh/config.zsh
source $DOT_FILES/zsh/prompt.zsh
source $DOT_FILES/zsh/aliases.zsh

# Colours
source $DOT_FILES/zsh/colors.zsh

# Completion
source $DOT_FILES/zsh/completion.zsh

# Autoload Zsh functions.
autoload -Uz age
autoload -Uz zargs
autoload -Uz zcalc
autoload -Uz zmv

# Source plugins defined in ~/.zshrc.
for plugin in ${0:h}/plugins/*/init.zsh; do
  source $plugin
done

# rbenv
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"<commit_msg>Improve rbenv bootstrap in ZSH init<commit_after>export CURRENT_SHELL="zsh"
export DOT_FILES=$(dirname $(dirname $(readlink $HOME/.zshrc)))

# Common functionality between Zsh and Bash
source $DOT_FILES/shell/common.sh

fpath=(
  ${plugins:+${0:h}/plugins/${^plugins}/{functions,completions}(/FN)}
  ${0:h}/{functions,completions}(/FN)
  $fpath
)

# Load and initialize the completion system ignoring insecure directories.
autoload -Uz compinit && compinit -i

# My ZSH customisations
source $DOT_FILES/zsh/config.zsh
source $DOT_FILES/zsh/prompt.zsh
source $DOT_FILES/zsh/aliases.zsh

# Colours
source $DOT_FILES/zsh/colors.zsh

# Completion
source $DOT_FILES/zsh/completion.zsh

# Autoload Zsh functions.
autoload -Uz age
autoload -Uz zargs
autoload -Uz zcalc
autoload -Uz zmv

# Source plugins defined in ~/.zshrc.
for plugin in ${0:h}/plugins/*/init.zsh; do
  source $plugin
done

# rbenv
if [[ -s "${HOME}/.rbenv/bin" ]]; then
  rbenv_root="${HOME}/.rbenv"
else
  rbenv_root="/usr/local/rbenv"
  export RBENV_ROOT="$rbenv_root"
fi

export PATH="${rbenv_root}/bin:$PATH"
eval "$(rbenv init -)"
{'fraction_non_alphanumeric': 0.142081894425259, 'fraction_numerical': 0.0029600394671928957, 'mean_word_length': 4.964705882352941, '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': '6665520', 'n_tokens_mistral': 803, 'n_tokens_neox': 773, 'n_words': 179}