Remove lazygit bootstrap and add to makefile
This commit is contained in:
parent
9784fe15c6
commit
284228ad80
8
Makefile
8
Makefile
|
@ -14,6 +14,8 @@ ZSH_TARGETS := $(ZSH_ITEMS:ohmyzsh/%.zsh=$(ZSH_CUSTOM_DIR)/%.zsh)
|
||||||
SSH_ITEMS := $(wildcard ssh/*)
|
SSH_ITEMS := $(wildcard ssh/*)
|
||||||
SSH_TARGETS := $(SSH_ITEMS:ssh/%=$(SSH_DIR)/%)
|
SSH_TARGETS := $(SSH_ITEMS:ssh/%=$(SSH_DIR)/%)
|
||||||
|
|
||||||
|
LAZY_REPO := https://github.com/folke/lazy.nvim.git
|
||||||
|
LAZY_DIR := /home/tux/.local/share/nvim/lazy/lazy.nvim
|
||||||
POWERLEVEL_REPO := https://github.com/romkatv/powerlevel10k.git
|
POWERLEVEL_REPO := https://github.com/romkatv/powerlevel10k.git
|
||||||
POWERLEVEL_DIR := $(ZSH_CUSTOM_DIR)/themes/powerlevel10k
|
POWERLEVEL_DIR := $(ZSH_CUSTOM_DIR)/themes/powerlevel10k
|
||||||
ZSH_SYNTAX_REPO := https://github.com/zsh-users/zsh-syntax-highlighting.git
|
ZSH_SYNTAX_REPO := https://github.com/zsh-users/zsh-syntax-highlighting.git
|
||||||
|
@ -35,12 +37,13 @@ unlink:
|
||||||
for link in $(SSH_TARGETS); do rm "$$link"; done
|
for link in $(SSH_TARGETS); do rm "$$link"; done
|
||||||
rmdir $(HOME)/.ssh/sockets
|
rmdir $(HOME)/.ssh/sockets
|
||||||
|
|
||||||
install: $(ZSH_DIR) $(POWERLEVEL_DIR) $(ZSH_SYNTAX_DIR) $(ZSH_TARGETS) $(TPM_DIR)
|
install: $(ZSH_DIR) $(POWERLEVEL_DIR) $(ZSH_SYNTAX_DIR) $(ZSH_TARGETS) $(LAZY_DIR) $(TPM_DIR)
|
||||||
python3 -m pip list | grep -E "libtmux.*0\.16\.1" > /dev/null ||\
|
python3 -m pip list | grep -E "libtmux.*0\.16\.1" > /dev/null ||\
|
||||||
python3 -m pip install --user libtmux==0.16.1
|
python3 -m pip install --user libtmux==0.16.1
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -rf $(ZSH_DIR)
|
rm -rf $(ZSH_DIR)
|
||||||
|
rm -rf $(LAZY_DIR)
|
||||||
|
|
||||||
pacman:
|
pacman:
|
||||||
sort -h pkglist.txt -o pkglist.txt
|
sort -h pkglist.txt -o pkglist.txt
|
||||||
|
@ -54,6 +57,9 @@ $(SSH_TARGETS): $(SSH_DIR)/%: ssh/%
|
||||||
$(HOME_TARGETS) $(CONFIG_TARGETS) $(ZSH_TARGETS) $(SSH_TARGETS):
|
$(HOME_TARGETS) $(CONFIG_TARGETS) $(ZSH_TARGETS) $(SSH_TARGETS):
|
||||||
ln -s $(PWD)/$? $@
|
ln -s $(PWD)/$? $@
|
||||||
|
|
||||||
|
$(LAZY_DIR):
|
||||||
|
git clone --depth 1 $(LAZY_REPO) $@
|
||||||
|
|
||||||
$(POWERLEVEL_DIR): $(ZSH_DIR)
|
$(POWERLEVEL_DIR): $(ZSH_DIR)
|
||||||
git clone --depth 1 $(POWERLEVEL_REPO) $@
|
git clone --depth 1 $(POWERLEVEL_REPO) $@
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue