<commit_before>#!/usr/bin/env zsh

BASEDIR="$(cd "$(dirname "${ZSH_SOURCE[0]}")" && pwd)"

echo "Updating submodules..."
git submodule update --init --recursive --remote

echo "Linking files..."
ln -sfn ${BASEDIR}/vim/vim $HOME/.vim
ln -sfn ${BASEDIR}/vim/vimrc $HOME/.vimrc
ln -sfn ${BASEDIR}/vim/gvimrc $HOME/.gvimrc

ln -sfn ${BASEDIR}/zsh/zsh $HOME/.zsh
ln -sfn ${BASEDIR}/zsh/zprofile $HOME/.zprofile
ln -sfn ${BASEDIR}/zsh/zshenv $HOME/.zshenv
ln -sfn ${BASEDIR}/zsh/zshrc $HOME/.zshrc

ln -sfn ${BASEDIR}/tmux/tmux.conf $HOME/.tmux.conf
ln -sfn ${BASEDIR}/git/gitconfig $HOME/.gitconfig
ln -sfn ${BASEDIR}/ruby/irbrc $HOME/.irbrc
ln -sfn ${BASEDIR}/ag/agignore $HOME/.agignore

[ -d $HOME/.config/cmus/ ] || mkdir -p $HOME/.config/cmus
ln -sfn ${BASEDIR}/cmus/aaku.theme $HOME/.config/cmus/aaku.theme
ln -sfn ${BASEDIR}/cmus/rc $HOME/.config/cmus/rc

[ -d $HOME/.irssi ] || mkdir -p $HOME/.irssi
ln -sfn ${BASEDIR}/irssi/config $HOME/.irssi/config
ln -sfn ${BASEDIR}/irssi/weed.theme $HOME/.irssi/weed.theme
ln -sfn ${BASEDIR}/irssi/scripts $HOME/.irssi/scripts

ln -sfn ${BASEDIR}/X11/xinitrc $HOME/.xinitrc
ln -sfn ${BASEDIR}/X11/Xresources $HOME/.Xresources

-ln -sfn ${BASEDIR}/i3 $HOME/.config/i3

ln -sfn ${BASEDIR}/i3blocks $HOME/.config/i3blocks

ln -sfn ${BASEDIR}/bin/fehbg $HOME/.fehbg

[ -d $HOME/.config/termite/ ] || mkdir -p $HOME/.config/termite
ln -sfn ${BASEDIR}/termite/config $HOME/.config/termite/config

[ -d $HOME/.config/rofi/ ] || mkdir -p $HOME/.config/rofi
ln -sfn ${BASEDIR}/rofi/config $HOME/.config/rofi/config

[ -d $HOME/.config/dunst/ ] || mkdir -p $HOME/.config/dunst
ln -sfn ${BASEDIR}/dunst/dunstrc $HOME/.config/dunst/dunstrc

[ -d $HOME/.config/ranger/ ] || mkdir -p $HOME/.config/ranger
ln -sfn ${BASEDIR}/ranger/rc.conf $HOME/.config/ranger/rc.conf
ln -sfn ${BASEDIR}/ranger/commands.py $HOME/.config/ranger/commands.py

[ -d $HOME/.config/compton/ ] || mkdir -p $HOME/.config/compton
ln -sfn ${BASEDIR}/compton/compton.conf $HOME/.config/compton/compton.conf

ln -sfn ${BASEDIR}/fontconfig $HOME/.config/fontconfig

echo "Installing Vim plugins..."
vim -E -c PlugInstall  -c qall<commit_msg>Add newsboat config files<commit_after>#!/usr/bin/env zsh

BASEDIR="$(cd "$(dirname "${ZSH_SOURCE[0]}")" && pwd)"

echo "Updating submodules..."
git submodule update --init --recursive --remote

echo "Linking files..."
ln -sfn ${BASEDIR}/vim/vim $HOME/.vim
ln -sfn ${BASEDIR}/vim/vimrc $HOME/.vimrc
ln -sfn ${BASEDIR}/vim/gvimrc $HOME/.gvimrc

ln -sfn ${BASEDIR}/zsh/zsh $HOME/.zsh
ln -sfn ${BASEDIR}/zsh/zprofile $HOME/.zprofile
ln -sfn ${BASEDIR}/zsh/zshenv $HOME/.zshenv
ln -sfn ${BASEDIR}/zsh/zshrc $HOME/.zshrc

ln -sfn ${BASEDIR}/tmux/tmux.conf $HOME/.tmux.conf
ln -sfn ${BASEDIR}/git/gitconfig $HOME/.gitconfig
ln -sfn ${BASEDIR}/ruby/irbrc $HOME/.irbrc
ln -sfn ${BASEDIR}/ag/agignore $HOME/.agignore

[ -d $HOME/.config/cmus/ ] || mkdir -p $HOME/.config/cmus
ln -sfn ${BASEDIR}/cmus/aaku.theme $HOME/.config/cmus/aaku.theme
ln -sfn ${BASEDIR}/cmus/rc $HOME/.config/cmus/rc

[ -d $HOME/.irssi ] || mkdir -p $HOME/.irssi
ln -sfn ${BASEDIR}/irssi/config $HOME/.irssi/config
ln -sfn ${BASEDIR}/irssi/weed.theme $HOME/.irssi/weed.theme
ln -sfn ${BASEDIR}/irssi/scripts $HOME/.irssi/scripts

[ -d $HOME/.newsboat/ ] || mkdir -p $HOME/.newsboat
ln -sfn ${BASEDIR}/newsboat/config $HOME/.newsboat/config
ln -sfn ${BASEDIR}/newsboat/urls $HOME/.newsboat/urls

ln -sfn ${BASEDIR}/X11/xinitrc $HOME/.xinitrc
ln -sfn ${BASEDIR}/X11/Xresources $HOME/.Xresources

-ln -sfn ${BASEDIR}/i3 $HOME/.config/i3

ln -sfn ${BASEDIR}/i3blocks $HOME/.config/i3blocks

ln -sfn ${BASEDIR}/bin/fehbg $HOME/.fehbg

[ -d $HOME/.config/termite/ ] || mkdir -p $HOME/.config/termite
ln -sfn ${BASEDIR}/termite/config $HOME/.config/termite/config

[ -d $HOME/.config/rofi/ ] || mkdir -p $HOME/.config/rofi
ln -sfn ${BASEDIR}/rofi/config $HOME/.config/rofi/config

[ -d $HOME/.config/dunst/ ] || mkdir -p $HOME/.config/dunst
ln -sfn ${BASEDIR}/dunst/dunstrc $HOME/.config/dunst/dunstrc

[ -d $HOME/.config/ranger/ ] || mkdir -p $HOME/.config/ranger
ln -sfn ${BASEDIR}/ranger/rc.conf $HOME/.config/ranger/rc.conf
ln -sfn ${BASEDIR}/ranger/commands.py $HOME/.config/ranger/commands.py

[ -d $HOME/.config/compton/ ] || mkdir -p $HOME/.config/compton
ln -sfn ${BASEDIR}/compton/compton.conf $HOME/.config/compton/compton.conf

ln -sfn ${BASEDIR}/fontconfig $HOME/.config/fontconfig

echo "Installing Vim plugins..."
vim -E -c PlugInstall  -c qall
{'fraction_non_alphanumeric': 0.20404040404040405, 'fraction_numerical': 0.00404040404040404, 'mean_word_length': 3.5655737704918034, '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': '555422', 'n_tokens_mistral': 1865, 'n_tokens_neox': 1898, 'n_words': 365}