-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
29 lines (23 loc) · 817 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
DOTFILES := $(PWD)
UNAME := $(shell uname -s)
all:: fish ghostty zed
print-%: ; @echo $*=$($*)
zsh::
@ln -fs $(DOTFILES)/zsh/zprofile ${HOME}/.zprofile
@ln -fs $(DOTFILES)/zsh/zshrc ${HOME}/.zshrc
@echo ZSH is symlinked.
fish::
@test -d ${HOME}/.config || mkdir ${HOME}/.config ${HOME}/.config
@ln -fns $(DOTFILES)/fish ${HOME}/.config/fish
@printf "Please install fisher and run the following to install plugins: \n\n\
\tfisher install jethrokuan/z \n\
\tfisher install jorgebucaran/hydro \n\
\tfisher install PatrickF1/fzf.fish \n\
\tfisher install jorgebucaran/autopair.fish\n\n"
@echo Fish is symlinked.
ghostty::
@ln -fs $(DOTFILES)/ghostty ${HOME}/.config/ghostty
@echo Ghostty is symlinked.
zed::
@ln -fs $(DOTFILES)/zed ${HOME}/.config/zed
@echo Zed is symlinked.