-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·35 lines (29 loc) · 1.03 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
30
31
32
33
34
35
.PHONY: all
all: .make.nvim .make.tmux .make.bash
.make.terminal:
curl -fLo ~/.local/share/fonts/anonymous_pro_powerline.ttf --create-dirs \
https://github.com/powerline/fonts/raw/master/AnonymousPro/Anonymice%20Powerline.ttf
fc-cache
./gnterm_profiler.sh
touch $@
.make.brew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install)"
touch $@
.make.nvim: .make.brew
brew install neovim/neovim/neovim
$(HOME)/.linuxbrew/bin/pip install neovim
curl -fLo $(HOME)/.config/nvim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
curl -fLo $(HOME)/.config/nvim/colors/monokai.vim --create-dirs \
https://raw.githubusercontent.com/crusoexia/vim-monokai/master/colors/monokai.vim
ln -sf $(HOME)/bin/.nvim.conf $(HOME)/.config/nvim/init.vim
nvim +PlugInstall &
touch $@
.make.tmux: .make.brew
brew install tmux
ln -sf $(HOME)/bin/.tmux.conf $(HOME)/.tmux.conf
tmux &
touch $@
.make.bash:
echo "source $$HOME/bin/.bashrc" >> $(HOME)/.bashrc
touch $@