move .userrc to .mattrc. fix .zshrc to macos and clean.
This commit is contained in:
14
Makefile
14
Makefile
@@ -1,4 +1,6 @@
|
||||
.PHONY: all nvim git shell tmux submodules
|
||||
.PHONY: all nvim git shell tmux submodules p10k
|
||||
|
||||
ZSH_CUSTOM ?= ${HOME}/.oh-my-zsh/custom
|
||||
|
||||
all: submodules nvim git shell tmux
|
||||
|
||||
@@ -11,8 +13,16 @@ git:
|
||||
nvim:
|
||||
stow nvim -t ${HOME}/.config/
|
||||
|
||||
shell:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user