mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
install: Better message
This commit is contained in:
parent
16c08431a6
commit
3bfdf99a67
|
|
@ -709,6 +709,9 @@ builtin source "${ZINIT[BIN_DIR]}/zinit-side.zsh" || { builtin print -P "${ZINIT
|
|||
elif (( ${+commands[lynx]} )); then
|
||||
command lynx -source "$url" || return 1
|
||||
else
|
||||
+zinit-message "[error]ERROR:[rst]No download tool detected" \
|
||||
"(one of: [obj]curl[rst], [obj]wget[rst], [obj]lftp[rst]," \
|
||||
"[obj]lynx[rst])."
|
||||
return 2
|
||||
fi
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue