-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
34 lines (26 loc) · 837 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
# ai-hayasaka.zsh-theme Makefile
# @copyright None
# @author Matthieu GOSSET
# @maintainers
# Matthieu GOSSET <[email protected]>
# @purpose `make install`
# @usage
# Tested on `Fedora 38`.
# Tested with terminal theme of VSCode using `IBM Carbon Color Theme`
.PHONY: install set all clean
.SECONDEXPANSION:
ZSH_CUSTOM?=~/.oh-my-zsh/custom
all: install set
$(ZSH_CUSTOM)/ai-hayasaka.zsh-theme:
ln ai-hayasaka.zsh-theme $(ZSH_CUSTOM)/ai-hayasaka.zsh-theme
install: $(ZSH_CUSTOM)/ai-hayasaka.zsh-theme
echo "Linking done."
reinstall: clean install
# OMZ CMD SEEMS NOT TO BE ACCESSIBLE...
set:
echo "Use following command to set it up:"
echo "\tomz theme set ai-hayasaka"
echo "Use following command to update prompt:"
echo "\tsource ~/.zshrc"
clean:
rm $(ZSH_CUSTOM)/ai-hayasaka.zsh-theme