-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
31 lines (27 loc) · 988 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
init:
cat ${PWD}/.bashrc > ${HOME}/.bashrc
cat ${PWD}/.tmux.conf > ${HOME}/.tmux.conf
# To install tmux plugins: prefix + I
git clone https://github.com/tmux-plugins/tpm ${HOME}/.tmux/plugins/tpm
sudo /bin/bash ${PWD}/starship/install.sh
mkdir -p ${HOME}/.config
cp ${PWD}/starship/starship.toml ${HOME}/.config/
vim:
cp ${PWD}/.vimrc ${HOME}/
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
nvim:
wget https://github.com/neovim/neovim/releases/download/stable/nvim-linux64.tar.gz
tar xzvf nvim-linux64.tar.gz
rm nvim-linux64.tar.gz
sudo mv nvim-linux64/ /usr/local/
mkdir -p ${HOME}/.config
cp -r ${PWD}/nvim ${HOME}/.config/
# For copy/paste on Ubuntu/Debian, same package name for Arch
sudo apt install xsel -y
# For tree-sitter on Debian
# sudo apt install build-essential -y
# On Arch
# sudo pacman -Sy --needed base-devel
docker:
sudo sh ./docker/install.sh
.PHONY: init vim nvim docker