<commit_before>#!/usr/bin/env bash

# -------------------------------------------------------------------------------------------
# Install GCC
# -------------------------------------------------------------------------------------------
sudo dnf install -y gcc gcc-c++

# -------------------------------------------------------------------------------------------
# Install Neovim
# -------------------------------------------------------------------------------------------
sudo yum -y install epel-release
curl -o /etc/yum.repos.d/dperson-neovim-epel-7.repo https://copr.fedorainfracloud.org/coprs/dperson/neovim/repo/epel-7/dperson-neovim-epel-7.repo
sudo yum -y install neovim
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim # Install vim-plug

# -------------------------------------------------------------------------------------------
# Install ZSH
# -------------------------------------------------------------------------------------------
sudo yum -y install zsh
sudo dnf -y install util-linux-user
wget --no-check-certificate http://install.ohmyz.sh -O - | sh
sudo chsh -s /usr/bin/zsh
chsh -s /usr/bin/zsh
curl -o - https://raw.githubusercontent.com/denysdovhan/spaceship-zsh-theme/master/install.zsh | zsh

# -------------------------------------------------------------------------------------------
# Install Tilix/Terminix
# -------------------------------------------------------------------------------------------
sudo dnf copr -y enable heikoada/terminix
sudo dnf install -y terminix

# -----------------------------------------------------------------------------	--------------
# Set Gnome window's buttons to the left
# -------------------------------------------------------------------------------------------
gsettings set org.gnome.desktop.wm.preferences button-layout 'close,minimize,maximize:'
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/DecorationLayout':<'close,minimize,maximize:'>}"

# -------------------------------------------------------------------------------------------
# Install gvm
# -------------------------------------------------------------------------------------------
sudo yum -y install bison
sudo yum -y install gcc
sudo yum -y install glibc-devel
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
gvm install go1.4 && gvm use go1.4 --default
<commit_msg>Fix golang installation<commit_after>#!/usr/bin/env bash

# -------------------------------------------------------------------------------------------
# Install GCC
# -------------------------------------------------------------------------------------------
sudo dnf install -y gcc gcc-c++

# -------------------------------------------------------------------------------------------
# Install Neovim
# -------------------------------------------------------------------------------------------
sudo yum -y install epel-release
curl -o /etc/yum.repos.d/dperson-neovim-epel-7.repo https://copr.fedorainfracloud.org/coprs/dperson/neovim/repo/epel-7/dperson-neovim-epel-7.repo
sudo yum -y install neovim
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim # Install vim-plug

# -------------------------------------------------------------------------------------------
# Install ZSH
# -------------------------------------------------------------------------------------------
sudo yum -y install zsh
sudo dnf -y install util-linux-user
wget --no-check-certificate http://install.ohmyz.sh -O - | sh
sudo chsh -s /usr/bin/zsh
chsh -s /usr/bin/zsh
curl -o - https://raw.githubusercontent.com/denysdovhan/spaceship-zsh-theme/master/install.zsh | zsh

# -------------------------------------------------------------------------------------------
# Install Tilix/Terminix
# -------------------------------------------------------------------------------------------
sudo dnf copr -y enable heikoada/terminix
sudo dnf install -y terminix

# -----------------------------------------------------------------------------	--------------
# Set Gnome window's buttons to the left
# -------------------------------------------------------------------------------------------
gsettings set org.gnome.desktop.wm.preferences button-layout 'close,minimize,maximize:'
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/DecorationLayout':<'close,minimize,maximize:'>}"

# -------------------------------------------------------------------------------------------
# Install gvm
# -------------------------------------------------------------------------------------------
sudo yum -y install bison
sudo yum -y install glibc-devel
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
gvm install go1.4 -B && gvm use go1.4 --default
gvm install go1.9.2 && gvm use go1.9.2 --default
{'fraction_non_alphanumeric': 0.5133026605321064, 'fraction_numerical': 0.004000800160032006, 'mean_word_length': 0.7985611510791367, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, 'https://': 8, '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': '4562153', 'n_tokens_mistral': 1187, 'n_tokens_neox': 1122, 'n_words': 247}