<commit_before>## Basic Configuration

# Locales
export lang="en_us.utf-8"
export language="en_us.utf-8"
export lc_all="en_us.utf-8"

# Colors are awesome
autoload colors; colors;

# Load the completion system
# zstyle commands copied from zshuery
autoload -U compinit && compinit
zmodload -i zsh/complist # Load the Completion listing extensions
setopt complete_in_word  # Enable completion within a word
setopt auto_remove_slash # Remove trailing slashes
zstyle ':completion:*' insert-tab pending
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
zstyle -e ':completion:*' list-colors 'if [[ $words[1] != kill && $words[1] != strace ]]; then reply=( "'$highlights'" ); else reply=( "'$highlights2'" ); fi'
zstyle ':completion:*' completer _complete _match _approximate
zstyle ':completion:*' squeeze-slashes true
zstyle ':completion:*' expand 'yes'
zstyle ':completion:*:match:*' original only
zstyle ':completion:*:approximate:*' max-errors 1 numeric
zstyle ':completion:*:hosts' hosts $hosts
zstyle ':completion::complete:*' use-cache 1
zstyle ':completion::complete:*' cache-path ./cache/
zstyle ':completion:*:cd:*' ignore-parents parent pwd
zstyle ':completion:*:mpg321:*' file-patterns '*.(mp3|MP3):mp3\ files *(-/):directories'
zstyle ':completion:*:ogg123:*' file-patterns '*.(ogg|OGG):ogg\ files *(-/):directories'
zstyle ':completion:*:kill:*:processes' list-colors '=(#b) #([0-9]#) ([0-9a-z-]#)*=01;34=0=01'
zstyle ':completion:*:*:*:processes' command "ps -u `whoami` -o pid,user,comm -w -w"

# Parameter Expansion, Command Substitution and arithmetic expansion are performed in prompts
setopt prompt_subst

# No beep or visual bell
setopt no_beep

# Remove any right prompt from display when accepting a commandline
setopt transient_rprompt

# Try to find a similar command when the command was not found
setopt correct

# Use vim as default editor – git for example
export EDITOR='vim'

# Enable emacs mode
setopt emacs

# History Configuration (from zshuery)
HISTFILE=$HOME/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
setopt hist_ignore_dups
setopt hist_reduce_blanks
setopt share_history
setopt append_history
setopt hist_verify
setopt inc_append_history
setopt extended_history
setopt hist_expire_dups_first
setopt hist_ignore_space

# quote pasted URLs
autoload -U url-quote-magic
zle -N self-insert url-quote-magic

# Auto Correct
setopt correct_all<commit_msg>Java Stuff<commit_after>## Basic Configuration

# Locales
export lang="en_us.utf-8"
export language="en_us.utf-8"
export lc_all="en_us.utf-8"

# Colors are awesome
autoload colors; colors;

# Load the completion system
# zstyle commands copied from zshuery
autoload -U compinit && compinit
zmodload -i zsh/complist # Load the Completion listing extensions
setopt complete_in_word  # Enable completion within a word
setopt auto_remove_slash # Remove trailing slashes
zstyle ':completion:*' insert-tab pending
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
zstyle -e ':completion:*' list-colors 'if [[ $words[1] != kill && $words[1] != strace ]]; then reply=( "'$highlights'" ); else reply=( "'$highlights2'" ); fi'
zstyle ':completion:*' completer _complete _match _approximate
zstyle ':completion:*' squeeze-slashes true
zstyle ':completion:*' expand 'yes'
zstyle ':completion:*:match:*' original only
zstyle ':completion:*:approximate:*' max-errors 1 numeric
zstyle ':completion:*:hosts' hosts $hosts
zstyle ':completion::complete:*' use-cache 1
zstyle ':completion::complete:*' cache-path ./cache/
zstyle ':completion:*:cd:*' ignore-parents parent pwd
zstyle ':completion:*:mpg321:*' file-patterns '*.(mp3|MP3):mp3\ files *(-/):directories'
zstyle ':completion:*:ogg123:*' file-patterns '*.(ogg|OGG):ogg\ files *(-/):directories'
zstyle ':completion:*:kill:*:processes' list-colors '=(#b) #([0-9]#) ([0-9a-z-]#)*=01;34=0=01'
zstyle ':completion:*:*:*:processes' command "ps -u `whoami` -o pid,user,comm -w -w"

# Parameter Expansion, Command Substitution and arithmetic expansion are performed in prompts
setopt prompt_subst

# No beep or visual bell
setopt no_beep

# Remove any right prompt from display when accepting a commandline
setopt transient_rprompt

# Try to find a similar command when the command was not found
setopt correct

# Java Stuff
export JAVA_HOME=$(/usr/libexec/java_home)

# Use vim as default editor – git for example
export EDITOR='vim'

# Enable emacs mode
setopt emacs

# History Configuration (from zshuery)
HISTFILE=$HOME/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
setopt hist_ignore_dups
setopt hist_reduce_blanks
setopt share_history
setopt append_history
setopt hist_verify
setopt inc_append_history
setopt extended_history
setopt hist_expire_dups_first
setopt hist_ignore_space

# quote pasted URLs
autoload -U url-quote-magic
zle -N self-insert url-quote-magic

# Auto Correct
setopt correct_all
{'fraction_non_alphanumeric': 0.13597386688444263, 'fraction_numerical': 0.01551653736218865, 'mean_word_length': 6.151824817518248, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4302911', 'n_tokens_mistral': 1761, 'n_tokens_neox': 1617, 'n_words': 496}