<commit_before>#!/bin/bash

# dotfilesのシンボリックリンクを作成するスクリプト
# A shellscript that creates symlinks of dotfiles

if [ ! -e ~/dotfiles ]; then
    echo 'Error: A directory named "dotfiles" must be on your home directory.'
    exit 1
fi

# if [ ! -L ~/Library/Application\ Support/Karabiner/private.xml ]; then
#     ln -is ~/dotfiles/karabiner_private.xml ~/Library/Application\ Support/Karabiner/private.xml
# fi
# 
# if [ -d ~/.matlab/ -a ! -L ~/.matlab/R2014b/mexopts.sh ]; then
#     ln -is ~/dotfiles/mexopts.sh ~/.matlab/R2014b/mexopts.sh
# fi


if [ ! -e ~/.vimrc ]; then
    ln -is ~/dotfiles/vimrc ~/.vimrc
fi

if [ ! -e ~/.bash_profile ]; then
    ln -is ~/dotfiles/bash_profile ~/.bash_profile
fi

if [ ! -e ~/.bashrc ]; then
    ln -is ~/dotfiles/bashrc ~/.bashrc
fi

if [ ! -e ~/.vim ]; then
    ln -is ~/dotfiles/vim ~/.vim
fi

if [ ! -e ~/.gvimrc ]; then
    ln -is ~/dotfiles/gvimrc ~/.gvimrc
fi

if [ ! -e ~/.tmux.conf ]; then
    ln -is ~/dotfiles/tmux.conf ~/.tmux.conf
fi

if [ ! -d ~/bin ]; then
    ln -is ~/dotfiles/bin ~/bin
fi<commit_msg>Add .gitconfig link creation<commit_after>#!/bin/bash

# dotfilesのシンボリックリンクを作成するスクリプト
# A shellscript that creates symlinks of dotfiles

if [ ! -e ~/dotfiles ]; then
    echo 'Error: A directory named "dotfiles" must be on your home directory.'
    exit 1
fi

# if [ ! -L ~/Library/Application\ Support/Karabiner/private.xml ]; then
#     ln -is ~/dotfiles/karabiner_private.xml ~/Library/Application\ Support/Karabiner/private.xml
# fi
# 
# if [ -d ~/.matlab/ -a ! -L ~/.matlab/R2014b/mexopts.sh ]; then
#     ln -is ~/dotfiles/mexopts.sh ~/.matlab/R2014b/mexopts.sh
# fi


if [ ! -e ~/.vimrc ]; then
    ln -is ~/dotfiles/vimrc ~/.vimrc
fi

if [ ! -e ~/.bash_profile ]; then
    ln -is ~/dotfiles/bash_profile ~/.bash_profile
fi

if [ ! -e ~/.bashrc ]; then
    ln -is ~/dotfiles/bashrc ~/.bashrc
fi

if [ ! -e ~/.vim ]; then
    ln -is ~/dotfiles/vim ~/.vim
fi

if [ ! -e ~/.gvimrc ]; then
    ln -is ~/dotfiles/gvimrc ~/.gvimrc
fi

if [ ! -e ~/.tmux.conf ]; then
    ln -is ~/dotfiles/tmux.conf ~/.tmux.conf
fi

if [ ! -d ~/bin ]; then
    ln -is ~/dotfiles/bin ~/bin
fi

if [ ! -e ~/.gitconfig ]; then
    ln -is ~/dotfiles/.gitconfig ~/.gitconfig
fi
{'fraction_non_alphanumeric': 0.17660343270099368, 'fraction_numerical': 0.008130081300813009, 'mean_word_length': 2.434108527131783, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '2921853', 'n_tokens_mistral': 992, 'n_tokens_neox': 916, 'n_words': 239}