-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
29 lines (24 loc) · 1.02 KB
/
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
export
XDG_CONFIG_HOME := $(HOME)/.config
.PHONY: link
link:
ln -s .gitconfig $(HOME)/.gitconfig
ln -s .gitignore $(HOME)/.gitignore
ln -sfv .config/zsh/.zshrc $(HOME)/.zshrc
ln -sfv $(HOME)/dotfiles/.config/* $(XDG_CONFIG_HOME)
.PHONY: tmux-plugin-install
tmux-plugin-install:
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
.PHONY: sheldon-install
sheldon-install:
curl --proto '=https' -fLsS https://rossmacarthur.github.io/install/crate.sh \
| bash -s -- --repo rossmacarthur/sheldon --to ~/.local/bin
.PHONY: fzf-install
fzf-install:
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf && ~/.fzf/install
.PHONY: lazygit-install
lazygit-install:
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*') && \
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" &&\
tar xf lazygit.tar.gz lazygit && \
sudo install lazygit /usr/local/bin