Fixed reported error when nothing new to install.
Running: zplug install with no new installs returns an exitcode of 1. So running zplug install ; report "message" will always report a failure if there was no new resources to install. There doesn't seem to an actual way to tell if the install failed besides checking the log zplug produces, but that can be kind of messy. For the time being I'm going to disable reporting on this.
This commit is contained in:
parent
494ea1de35
commit
c15757f3b3
|
@ -35,14 +35,13 @@ update:
|
|||
source $(ZPLUG_DIR)/init.zsh
|
||||
source $(ZSH_DIR)/zplug
|
||||
export zplugs
|
||||
zplug install \
|
||||
; $(report) "zplug install"
|
||||
zplug install
|
||||
zplug update \
|
||||
; $(report) "zplug upate"
|
||||
zplug clean \
|
||||
; $(report) "zplug cleaned"
|
||||
else
|
||||
$(report) error "$(ZPLUG_DIR) doesn't exist... maybe run init first?"
|
||||
$(report) error "$(ZPLUG_DIR) doesn't exist - run init first."
|
||||
fi
|
||||
|
||||
remove:
|
||||
|
|
Loading…
Reference in New Issue
Block a user