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

set -e

P=$(pwd -P)

link() {
  if [ -h $2 ]; then
    echo "$2 exists. Removing."
    sudo rm $2;
  fi
  sudo ln -s $P/$1 $2
}

mkdir -p ~/.config/dunst
link dunstrc ~/.config/dunst/dunstrc

link emacs.el ~/.emacs
link emacs.d ~/.emacs.d

link config.fish ~/.config/fish/config.fish

link gemrc ~/.gemrc

link git/config ~/.gitconfig
link git/ignore ~/.gitignore
link git/message ~/.gitmessage
link git/template ~/.gittemplate

link hg/ignore ~/.hgignore
link hg/rc ~/.hgrc

link irbrc.rb ~/.irbrc

mkdir -p ~/.config/i3
mkdir -p ~/.config/i3blocks
link i3/conf ~/.config/i3/config
link i3/blocks.conf ~/.config/i3blocks/config<commit_msg>Link bin directory to ~/bin<commit_after>#!/usr/bin/env bash

set -e

P=$(pwd -P)

link() {
  if [ -h $2 ]; then
    echo "$2 exists. Removing."
    sudo rm $2;
  fi
  sudo ln -s $P/$1 $2
}

link bin ~/bin

mkdir -p ~/.config/dunst
link dunstrc ~/.config/dunst/dunstrc

link emacs.el ~/.emacs
link emacs.d ~/.emacs.d

link config.fish ~/.config/fish/config.fish

link gemrc ~/.gemrc

link git/config ~/.gitconfig
link git/ignore ~/.gitignore
link git/message ~/.gitmessage
link git/template ~/.gittemplate

link hg/ignore ~/.hgignore
link hg/rc ~/.hgrc

link irbrc.rb ~/.irbrc

mkdir -p ~/.config/i3
mkdir -p ~/.config/i3blocks
link i3/conf ~/.config/i3/config
link i3/blocks.conf ~/.config/i3blocks/config
{'fraction_non_alphanumeric': 0.16931982633863965, 'fraction_numerical': 0.015918958031837915, 'mean_word_length': 2.809917355371901, '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': '1803402', 'n_tokens_mistral': 590, 'n_tokens_neox': 577, 'n_words': 156}