.dotfiles/init.sh
2024-09-04 20:32:36 -05:00

43 lines
879 B
Bash

#!/bin/bash
##########
#pre-reqs#
##########
sudo apt update
sudo apt upgrade -y
sudo apt install -y git curl wget autoconf automake pkg-config zsh
git clone https://git.fisherhome.xyz/matthew/.dotfiles.git ~/
#############
#Install zsh#
#############
##Setup Oh My zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
##Copy omz custom theme
##Copy .zshrc
##############
#Install tmux#
##############
git clone https://github.com/tmux/tmux.git
cd tmux
sh autogen.sh
./configure && make
##Install TPM
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
tmux source ~/.tmux.conf
################
#Install neovim#
################
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz
sudo rm -rf /opt/nvim
sudo tar -C /opt -xzf nvim-linux64.tar.gz
##Copy neovim configuration