<commit_before>#!/bin/bash
##############################
# install_dotfiles.sh
##############################

##########

dir=~/dotfiles 			# dotfiles directory
olddir=~\dotfiles_old 	# backup directory for old dotfiles
files="bashrc vimrc"

##########

# create dotfiles_old in homedir
echo "Creating $olddir for backup of any existing dotfiles in ~"
mkdir -p $olddir
echo "...done"

# change to the dotfiles directory
echo "Changing to the $dir directory"
cd $dir
echo "...done"

# move any existing dotfiles in homedir to dotfiles_old directory, then create symlinks<commit_msg>fixed bad olddir path<commit_after>#!/bin/bash
##############################
# install_dotfiles.sh
##############################

##########

dir=~/dotfiles 			# dotfiles directory
olddir=~/dotfiles_old 	# backup directory for old dotfiles
files="bashrc vimrc"

##########

# create dotfiles_old in homedir
echo "Creating $olddir for backup of any existing dotfiles in ~"
mkdir -p $olddir
echo "...done"

# change to the dotfiles directory
echo "Changing to the $dir directory"
cd $dir
echo "...done"

# move any existing dotfiles in homedir to dotfiles_old directory, then create symlinks
{'fraction_non_alphanumeric': 0.21124361158432708, 'fraction_numerical': 0.0, 'mean_word_length': 5.317204301075269, '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': '7107145', 'n_tokens_mistral': 370, 'n_tokens_neox': 348, 'n_words': 120}