<commit_before>#
# ~/.zshrc
#

export EDITOR="vim"


case ${TERM} in
  xterm*|rxvt*|Eterm*|aterm|kterm|gnome*|alacritty|st|konsole*)
    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\007"'
        ;;
  screen*)
    PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\033\\"'
    ;;
esac



#
# Autocompletion
#

autoload -Uz compinit
compinit

# Autocompletion of privileged environments
zstyle ':completion::complete:*' gain-privileges 1
<commit_msg>Add correct title to zsh terminal windows<commit_after>#
# ~/.zshrc
#

export EDITOR="vim"

# Set terminal window title
DISABLE_AUTO_TITLE="true"
precmd () { print -Pn "\e]2;%n@%M | %~\a" }


#
# Autocompletion
#

autoload -Uz compinit
compinit

# Autocompletion of privileged environments
zstyle ':completion::complete:*' gain-privileges 1

{'fraction_non_alphanumeric': 0.18571428571428572, 'fraction_numerical': 0.01904761904761905, 'mean_word_length': 4.72108843537415, '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': '7617821', 'n_tokens_mistral': 353, 'n_tokens_neox': 326, 'n_words': 62}