<commit_before>#!/usr/bin/zsh

# Main configuration file for a host (andrew AFS)

HOST_FILES=( "aliases.sh" "scripts.sh" )
export HOST_FILES

# for various CMU classes, etc
export PATH=$PATH:/afs/andrew/course/15/122/bin
export PATH=$PATH:/usr/lib/smlnj/bin
export PATH=$PATH:/afs/andrew/course/15/150/bin

# prompt/etc
PROMPT='%D{[%H:%M:%S]}%F{yellow}%n%F{default} at %F{green}%m%f%F{default}:%(4~|%-1~/.../%2~|%3~)$ '

# Allow us to use github properly
unset SSH_ASKPASS
<commit_msg>update prompt on andrew<commit_after>#!/usr/bin/zsh

# Main configuration file for a host (andrew AFS)

HOST_FILES=( "aliases.sh" "scripts.sh" )
export HOST_FILES

# for various CMU classes, etc
export PATH=$PATH:/afs/andrew/course/15/122/bin
export PATH=$PATH:/usr/lib/smlnj/bin
export PATH=$PATH:/afs/andrew/course/15/150/bin

# prompt/etc

setopt PROMPT_SUBST
precmd() { curDir=`pwd | sed -e "s!$HOME!~!" | sed -re "s!([^/])[^/]+/!\1/!g"` }
PROMPT='%D{[%H:%M:%S]}%F{yellow}%n%F{default} at %F{green}%m%f%F{default}$ '
RPROMPT='%F{red}$curDir'

# Allow us to use github properly
unset SSH_ASKPASS

{'fraction_non_alphanumeric': 0.20387453874538744, 'fraction_numerical': 0.023062730627306273, 'mean_word_length': 5.271676300578035, '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': '5190417', 'n_tokens_mistral': 502, 'n_tokens_neox': 448, 'n_words': 88}