Files
dotfiles/Makefile

29 lines
621 B
Makefile

.PHONY: all nvim git shell tmux submodules p10k
ZSH_CUSTOM ?= ${HOME}/.oh-my-zsh/custom
all: submodules nvim git shell tmux
submodules:
git submodule update --init --recursive
git:
stow git -t ${HOME}
nvim:
stow nvim -t ${HOME}/.config/
shell: p10k
stow shell -t ${HOME}
tmux: submodules
stow tmux -t ${HOME}
p10k:
@if [ ! -d ${ZSH_CUSTOM}/themes/powerlevel10k ]; then \
echo "installing powerlevel10k -> ${ZSH_CUSTOM}/themes/powerlevel10k"; \
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM}/themes/powerlevel10k; \
else \
echo "powerlevel10k already installed"; \
fi