Revert to original system for installing packer
This commit is contained in:
parent
f14dea565c
commit
9cb7cbbef4
6
Makefile
6
Makefile
|
@ -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)"
|
||||
|
||||
|
|
Loading…
Reference in a new issue