<commit_before>#!/bin/bash

# this script is a bash-script to setup a linux system (current arch)
. ./data/a_pkg_ws.sh
. ./data/apm_pkg.sh

distro=$(cat /etc/os-release | grep ID | cut -d= -f2);


# update system
sudo pacman -Syyu
sudo pacman -S ${apkgws[*]}

#configuration
echo "connecting to remote server via ssh";
echo "Enter your ssh username:";
read username;
echo "enter server:";
read remoteServer;

connectionString="$username@$remoteServer";

mkdir /tmp/remoteData
scp -r $connectionString/priv/* /tmp/remoteData/;

cp /tmp/remoteData/ssh/{config,id_rsa,id_rsa.pub} ~/.ssh/
cp /tmp/remoteData/zsh/zshrc ~/.zshrc
sudo cp /tmp/remoteData/linux/hosts /etc/hosts

if [ ! -d ~/.config/i3 ]
then
    mkdir -p ~/.config/i3
    cp /tmp/remoteData/i3/config.new ~/.config/i3/config
fi

git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh

for pack in ${apmpkg[*]}; do
  apm install $pack;
done
<commit_msg>chsh to zsh added<commit_after>#!/bin/bash

# this script is a bash-script to setup a linux system (current arch)
. ./data/a_pkg_ws.sh
. ./data/apm_pkg.sh

distro=$(cat /etc/os-release | grep ID | cut -d= -f2);


# update system
sudo pacman -Syyu
sudo pacman -S ${apkgws[*]}

#configuration
echo "connecting to remote server via ssh";
echo "Enter your ssh username:";
read username;
echo "enter server:";
read remoteServer;

connectionString="$username@$remoteServer";

mkdir /tmp/remoteData
scp -r $connectionString/priv/* /tmp/remoteData/;

cp /tmp/remoteData/ssh/{config,id_rsa,id_rsa.pub} ~/.ssh/
cp /tmp/remoteData/zsh/zshrc ~/.zshrc
chsh -s $(which zsh)
sudo cp /tmp/remoteData/linux/hosts /etc/hosts

if [ ! -d ~/.config/i3 ]
then
    mkdir -p ~/.config/i3
    cp /tmp/remoteData/i3/config.new ~/.config/i3/config
fi

git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh

for pack in ${apmpkg[*]}; do
  apm install $pack;
done

{'fraction_non_alphanumeric': 0.1560428352881183, 'fraction_numerical': 0.006119326874043855, 'mean_word_length': 3.7050359712230216, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5166185', 'n_tokens_mistral': 790, 'n_tokens_neox': 743, 'n_words': 197}