-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
40 lines (37 loc) · 845 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
32
33
34
35
36
37
38
39
40
sync: create-dirs alacritty nvim vis scripts aliases tmux zsh
create-dirs:
@echo Creating directories...
[ -d ~/.config ] || mkdir ~/.config
[ -d ~/.local ] || mkdir ~/.local
@echo Done!
alacritty:
ln -s $(PWD)/config/alacritty ~/.config/alacritty
nvim:
ln -s $(PWD)/config/nvim ~/.config/nvim
vis:
ln -s $(PWD)/config/vis ~/.config/vis
scripts:
ln -s $(PWD)/scripts ~/.local/bin
aliases:
ln -s $(PWD)/bash_aliases ~/.bash_aliases
tmux:
ln -s $(PWD)/tmux.conf ~/.tmux.conf
vimrc:
ln -s $(PWD)/vimrc ~/.vimrc
zsh:
ln -s $(PWD)/zshrc ~/.zshrc
clean:
@# alacritty
rm -rf ~/.config/alacritty
@# nvim
rm -rf ~/.config/nvim
@# vis
rm -rf ~/.config/vis
@# scripts
rm -rf ~/.local/bin
@# aliases
rm -f ~/.bash_aliases
@# tmux
rm -f ~/.tmux.conf
@# zsh
rm -f ~/.zshrc