#!/bin/bash if [[ ! -d /home/$2/Software ]]; then echo "mkdir /home/$2/Software" fi if [[ $1 == "Debian" ]]; then echo "sudo apt-get -y install fzf ripgrep ninja-build gettext cmake unzip curl build-essential" echo "git clone -b stable https://github.com/neovim/neovim /home/$2/Software" echo "cd /home/$2/Software/neovim/ && make CMAKE_BUILD_TYPE=RelWithDebInfo && cd build && cpack -G DEB && sudo dpkg -i nvim-linux64.deb" fi if [[ $1 == "Arch" ]]; then echo "pacman -S neovim" fi