Zplug can now install it self better.

This commit is contained in:
James Patrick 2019-12-20 10:14:15 -05:00
parent eca15345cf
commit c4164786b4

View File

@ -11,6 +11,7 @@ init:
ifeq ($(shell [ ! -e $(ZPLUG_DIR) ] $(return_val_truthy) ), true) ifeq ($(shell [ ! -e $(ZPLUG_DIR) ] $(return_val_truthy) ), true)
export ZPLUG_HOME=$(ZPLUG_DIR) \ export ZPLUG_HOME=$(ZPLUG_DIR) \
; git clone https://github.com/zplug/zplug $(ZPLUG_DIR) \ ; git clone https://github.com/zplug/zplug $(ZPLUG_DIR) \
; source ~/.zplug/init.zsh && zplug update --self \
; $(report) "zplug installed" ; $(report) "zplug installed"
endif endif
$(mk_link) $(SRC) ~/.zsh $(mk_link) $(SRC) ~/.zsh