mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
Improve a package-installation message.
This commit is contained in:
parent
ad0928b3d5
commit
404ebdee88
|
|
@ -188,7 +188,8 @@ builtin source "${ZINIT[BIN_DIR]}/zinit-side.zsh" || { builtin print -P "${ZINIT
|
|||
|
||||
local sep="$ZINIT[col-rst],$ZINIT[col-meta2] "
|
||||
+zinit-message "Found the profile \`{meta2}$profile{rst}'. Other available" \
|
||||
"profiles are: {meta}${(pj:$sep:)${profiles[@]:#$profile}}{rst}."
|
||||
"profiles are:${${${(M)profile:#default}:+"{meta2}"}:-"{meta}"}" \
|
||||
"${(pj:$sep:)${profiles[@]:#$profile}}{rst}."
|
||||
if [[ $profile != *bgn* && -n ${(M)profiles[@]:#*bgn*} ]] {
|
||||
+zinit-message "{note}Note:{rst} The \`{meta2}bgn{glob}*{rst}' profiles are" \
|
||||
"recommended (they expose the binaries without extending {var}\$PATH{rst})."
|
||||
|
|
|
|||
Loading…
Reference in a new issue