move .userrc to .mattrc. fix .zshrc to macos and clean.

This commit is contained in:
publicmatt
2026-05-11 11:53:19 -07:00
parent ffd7845f61
commit 7f859e74aa
7 changed files with 130 additions and 171 deletions

View File

@@ -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