<commit_before>#!/bin/sh
# duckwork 'dots' install script

# Will move the files where they need to be, and install git for use with github

github_setup() {
    echo -n "First name: "; read firstname
    echo -n "Last name:  "; read lastname
    echo -n "Email: "; read email
    echo "---------------------------------"
    echo -n "Github user:"; read githubuser
    echo -n "Password: "; read password

    $(which git) || return 1

    git config --global user.name "$firstname $lastname"
    git config --global user.email "$email"
    git config --global color.ui true
    git config --global push.default simple

}

if [[ "$1" == "-g" ]]; then # github setup requested
    echo "Will set up git."
    github_setup || echo "Install git!";
fi

ln -s dots/vimrc ~/.vimrc # soft links = best practice<commit_msg>install.sh installs Vundle and vim plugins<commit_after>#!/bin/sh
# duckwork 'dots' install script

# Will move the files where they need to be, and install git for use with github

github_setup() {
    echo -n "First name: "; read firstname
    echo -n "Last name:  "; read lastname
    echo -n "Email: "; read email
    echo "---------------------------------"
    echo -n "Github user:"; read githubuser
    echo -n "Password: "; read password

    $(which git) || return 1

    git config --global user.name "$firstname $lastname"
    git config --global user.email "$email"
    git config --global color.ui true
    git config --global push.default matching

}

if [[ "$1" == "-g" ]]; then # github setup requested
    echo "Will set up git."
    github_setup || echo "Install git!";
fi

ln -s dots/vimrc ~/.vimrc # soft links = best practice
mkdir -p $HOME/.vim/bundle
git clone https://github.com/gmarik/Vundle.vim.git $HOME/.vim/bundle/Vundle.vim
vim +PluginInstall +qall
{'fraction_non_alphanumeric': 0.15710306406685237, 'fraction_numerical': 0.0022284122562674096, 'mean_word_length': 2.570576540755467, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '6757192', 'n_tokens_mistral': 561, 'n_tokens_neox': 532, 'n_words': 216}