<commit_before>#!/bin/sh
echo "start setup dot files"

chmod +x setup_hooks.sh
./setup_hooks.sh

p=`pwd -P`
echo "######start setup $HOME######"
ln -s $p/dotgitignore ~/.gitignore_global
ln -s $p/dotgitconfig ~/.gitconfig
ln -s $p/.inputrc ~/.inputrc
ln -s $p/.tmux.conf ~/.tmux.conf
ln -s $p/.tmuxinator ~/.tmuxinator
ln -s $p/.ccl-init.lisp ~/.ccl-init.lisp
echo "######start setup zsh######"
ln -s $p/.zshrc ~/.zshrc
ln -s $p/.zshenv ~/.zshenv
if [ `uname` = "Darwin" ];then
    ln -s $p/.zshrc.mac.sh ~/.zshrc.mac.sh
elif [ `uname` = "Linux" ];then
    ln -s $p/.zshrc.linux.sh ~/.zshrc.linux.sh
else
    ln -s $p/.zshrc.cygwin.sh ~/.zshrc.cygwin.sh
fi
if [ $? -eq 0 ]; then
    source ~/.zshrc
    echo "######loaded zshrc######"
fi
echo "######finished setup $HOME######"

echo "######start setup vim######"
if [ -d $HOME/.vim ]; then
    echo "already exists! $HOME/.vim"
    exit;
fi
ln -s $p/.vimrc ~/.vimrc
ln -s $p/.gvimrc ~/.gvimrc<commit_msg>Fix setup.sh<commit_after>#!/bin/sh
echo "start setup dot files"

chmod +x setup_hooks.sh
./setup_hooks.sh

p=`pwd -P`
echo "######start setup $HOME######"
ln -s $p/dotgitignore ~/.gitignore_global
ln -s $p/dotgitconfig ~/.gitconfig
ln -s $p/.inputrc ~/.inputrc
ln -s $p/.tmux.conf ~/.tmux.conf
ln -s $p/.tmuxinator ~/.tmuxinator
ln -s $p/.ccl-init.lisp ~/.ccl-init.lisp
echo "######start setup zsh######"
ln -s $p/.zshrc ~/.zshrc
ln -s $p/.zshenv ~/.zshenv
if [ `uname` = "Darwin" ];then
    ln -s $p/.zshrc.mac.sh ~/.zshrc.mac.sh
elif [ `uname` = "Linux" ];then
    ln -s $p/.zshrc.linux.sh ~/.zshrc.linux.sh
else
    ln -s $p/.zshrc.cygwin.sh ~/.zshrc.cygwin.sh
fi
echo "######finished setup zsh######"
echo "######finished setup $HOME######"

echo "######start setup vim######"
if [ -d $HOME/.vim ]; then
    echo "already exists! $HOME/.vim"
    exit;
fi
ln -s $p/.vimrc ~/.vimrc
ln -s $p/.gvimrc ~/.gvimrc
{'fraction_non_alphanumeric': 0.24866023579849947, 'fraction_numerical': 0.0005359056806002144, 'mean_word_length': 2.9471458773784356, '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': '3237917', 'n_tokens_mistral': 856, 'n_tokens_neox': 814, 'n_words': 214}