<commit_before>#!/bin/sh
#
# AX-ZSH: Alex' Modular ZSH Configuration
# Copyright (c) 2015 <NAME> <<EMAIL>>
#

safe_rm() {
	if [ -f "$1" -a ! -L "$1" ]; then
		rm -f "$1.bak" || exit 1
		mv -v "$1" "$1.bak" || exit 1
	fi
	rm -f "$1" || exit 1
}

for f in ~/.zlogin ~/.zlogout ~/.zprofile ~/.zshrc; do
	safe_rm "$f" || exit 1
	ln -sv "$PWD/ax.zsh" "$f" || exit 1
done

safe_rm ~/.axzsh || exit 1
ln -sv "$PWD" ~/.axzsh || exit 1
<commit_msg>install.sh: Create symlinks relative to ~/.axzsh<commit_after>#!/bin/sh
#
# AX-ZSH: Alex' Modular ZSH Configuration
# Copyright (c) 2015 <NAME> <<EMAIL>>
#

safe_rm() {
	if [ -f "$1" -a ! -L "$1" ]; then
		rm -f "$1.bak" || exit 1
		mv -v "$1" "$1.bak" || exit 1
	fi
	rm -f "$1" || exit 1
}

safe_rm ~/.axzsh || exit 1
ln -sv "$PWD" ~/.axzsh || exit 1

for f in ~/.zlogin ~/.zlogout ~/.zprofile ~/.zshrc; do
	safe_rm "$f" || exit 1
	ln -sv ~/.axzsh/ax.zsh "$f" || exit 1
done

{'fraction_non_alphanumeric': 0.23497267759562843, 'fraction_numerical': 0.03715846994535519, 'mean_word_length': 2.649402390438247, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '163440', 'n_tokens_mistral': 457, 'n_tokens_neox': 427, 'n_words': 135}