-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
34 lines (24 loc) · 882 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
# This Makefile is used to create symlinks to the dotfiles in this repository.
.PHONY: git tmux zsh fastfetch ghostty karabiner nvim hammerspoon all
DOTFILES := $(shell pwd)
$(HOME)/%: %
ln -sf $(DOTFILES)/$< $@
git: $(HOME)/.gitconfig $(HOME)/.gitignore
tmux: $(HOME)/.tmux.conf
zsh: $(HOME)/.zshrc
fastfetch:
@rm -rf $(HOME)/.config/fastfetch
ln -sf $(DOTFILES)/.config/fastfetch $(HOME)/.config/fastfetch
ghostty:
@rm -rf $(HOME)/.config/ghostty
ln -sf $(DOTFILES)/.config/ghostty $(HOME)/.config/ghostty
karabiner:
@rm -rf $(HOME)/.config/karabiner
ln -sf $(DOTFILES)/.config/karabiner $(HOME)/.config/karabiner
nvim:
@rm -rf $(HOME)/.config/nvim
ln -sf $(DOTFILES)/.config/nvim $(HOME)/.config/nvim
hammerspoon:
@rm -rf $(HOME)/.hammerspoon
ln -sf $(DOTFILES)/.hammerspoon $(HOME)/.hammerspoon
all: git tmux zsh fastfetch ghostty karabiner nvim hammerspoon