<commit_before>#!/bin/bash

# # Setup ssh keys
# if [[ -f $HOME/.ssh/id_rsa ]]; then
    # echo "Found existing ssh key"
# else
    # ssh-keygen -t rsa -b 2048
    # eval `ssh-agent -s`
# fi
# ssh-add
# 
# # Clone repos
# P=$HOME/.personal
# mkdir -p $P
# echo -n "Have you uploaded ssh key to GitHub? [yes/no] "
# read github
# if [ "$github" != "yes" ]; then
    # exit 1
# fi
# git clone ssh://git@ssh.github.com:443/aprokop/dotfiles         $P/configs
# git clone ssh://git@ssh.github.com:443/aprokop/local_scripts    $P/scripts
# git clone ssh://git@ssh.github.com:443/aprokop/package_configs  $P/trilinos_configs
# 
# # Create symlinks
# cd $HOME
# [[ -f $HOME/.bashrc ]] && mv $HOME/.bashrc $HOME/.bashrc.orig
# ln -s $P/configs/.bashrc .
# ln -s $P/configs/.gitconfig .
# ln -s $P/configs/.tmux.conf .
# ln -s $P/configs/.vimrc .
# ln -s $P/configs/.vim .
# mkdir -p $HOME/.vim/bundle
# git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
# vim +PluginInstall +qall

mkdir -p $HOME/local/share/git
cd $HOME/local/share/git
ln -s $HOME/.personal/scripts/git-prompt.sh .

mkdir -p $HOME/local/share/bash-completion/completions
ln -s $HOME/.personal/scripts/bash_completions/tmux<commit_msg>new_user_setup: uncommenting accidentally commented code<commit_after>#!/bin/bash

# Setup ssh keys
if [[ -f $HOME/.ssh/id_rsa ]]; then
    echo "Found existing ssh key"
else
    ssh-keygen -t rsa -b 2048
    eval `ssh-agent -s`
fi
ssh-add

# Clone repos
P=$HOME/.personal
mkdir -p $P
echo -n "Have you uploaded ssh key to GitHub? [yes/no] "
read github
if [ "$github" != "yes" ]; then
    exit 1
fi
git clone ssh://git@ssh.github.com:443/aprokop/dotfiles         $P/configs
git clone ssh://git@ssh.github.com:443/aprokop/local_scripts    $P/scripts
git clone ssh://git@ssh.github.com:443/aprokop/package_configs  $P/trilinos_configs

# Create symlinks
cd $HOME
[[ -f $HOME/.bashrc ]] && mv $HOME/.bashrc $HOME/.bashrc.orig
ln -s $P/configs/.bashrc .
ln -s $P/configs/.gitconfig .
ln -s $P/configs/.tmux.conf .
ln -s $P/configs/.vimrc .
ln -s $P/configs/.vim .
mkdir -p $HOME/.vim/bundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall

mkdir -p $HOME/local/share/git
cd $HOME/local/share/git
ln -s $HOME/.personal/scripts/git-prompt.sh .

mkdir -p $HOME/local/share/bash-completion/completions
ln -s $HOME/.personal/scripts/bash_completions/tmux
{'fraction_non_alphanumeric': 0.168659793814433, 'fraction_numerical': 0.01154639175257732, 'mean_word_length': 3.147008547008547, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, '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': '575248', 'n_tokens_mistral': 1047, 'n_tokens_neox': 952, 'n_words': 221}