Revert to original system for installing packer

This commit is contained in:
Evie Litherland-Smith 2023-02-02 10:20:40 +00:00
parent f14dea565c
commit 9cb7cbbef4

View file

@ -32,8 +32,7 @@ zsh: $(HOME)/.zshrc $(ZSH_DIR) $(ZSH_CUSTOM_DIR) $(POWERLEVEL_DIR) $(HOME)/.p10k
ssh: $(HOME)/.ssh/config $(HOME)/.ssh/sockets $(HOME)/.ssh/config.d
nvim:
nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
nvim: $(PACKER_DIR)
$(CONFIG_TARGETS): $(CONFIG_DIR)/%: config/%
$(FONT_TARGETS): $(FONT_DIR)/%: nerdfont_symbols/%
@ -44,6 +43,9 @@ $(HOME)/.ssh/config: $(HOME)/.ssh/%: ssh-%
$(CONFIG_TARGETS) $(FONT_TARGETS) $(ZSH_TARGETS) $(HOME)/.zshrc $(HOME)/.p10k.zsh $(HOME)/.ssh/config:
ln -s $(PWD)/$? $@
$(PACKER_DIR):
git clone --depth 1 $(PACKER_REPO) $@
$(ZSH_DIR):
sh -c "$$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"