mirror of
https://github.com/zdharma-continuum/zinit-annex-meta-plugins.git
synced 2026-09-10 07:16:29 -04:00
zdharma -> &-continuum
This commit is contained in:
parent
f3d0ac5ae2
commit
db877ef3ba
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -12,7 +12,7 @@
|
||||||
._zinit
|
._zinit
|
||||||
.zinit_lastupd
|
.zinit_lastupd
|
||||||
|
|
||||||
# zdharma/zshelldoc tool's files
|
# zdharma-continuum/zshelldoc tool's files
|
||||||
zsdoc/data
|
zsdoc/data
|
||||||
|
|
||||||
# ohmyzsh/ohmyzsh/plugins/per-directory-history plugin's files
|
# ohmyzsh/ohmyzsh/plugins/per-directory-history plugin's files
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
(( ${#ices} > 0 && ${#ices} % 2 == 0 )) && ICE=( "${(@kv)ICE}" "${ices[@]}" )
|
(( ${#ices} > 0 && ${#ices} % 2 == 0 )) && ICE=( "${(@kv)ICE}" "${ices[@]}" )
|
||||||
|
|
||||||
# Exclude IDs with slashes and also packages
|
# Exclude IDs with slashes and also packages
|
||||||
[[ $id == */* ]] && local bad_id=1
|
[[ $id == */* ]] && local bad_id=1
|
||||||
[[ $id == *:* ]] && local bad_id2=1
|
[[ $id == *:* ]] && local bad_id2=1
|
||||||
[[ $ICE[teleid] == */* ]] && local bad_tele=1
|
[[ $ICE[teleid] == */* ]] && local bad_tele=1
|
||||||
(( $+ICE[pack] )) && local is_pack=1
|
(( $+ICE[pack] )) && local is_pack=1
|
||||||
|
|
@ -92,7 +92,7 @@
|
||||||
|
|
||||||
# Output a separating newline if the previous-processed
|
# Output a separating newline if the previous-processed
|
||||||
# plugin isn't a meta-plugin → to cluster the messages.
|
# plugin isn't a meta-plugin → to cluster the messages.
|
||||||
[[ -z $Zinit_Annex_Meta_Plugins_Map[${ZINIT[annex-exposed-processed-IDs]##* }] ]] && builtin print
|
[[ -z $Zinit_Annex_Meta_Plugins_Map[${ZINIT[annex-exposed-processed-IDs]##* }] ]] && builtin print
|
||||||
|
|
||||||
+zinit-message -n "{hi}$Zinit_Annex_Meta_Plugins_Map[recon-count].{rst} "
|
+zinit-message -n "{hi}$Zinit_Annex_Meta_Plugins_Map[recon-count].{rst} "
|
||||||
+zinit-message -n "{pre}[meta-plugins annex]{msg} Loading" \
|
+zinit-message -n "{pre}[meta-plugins annex]{msg} Loading" \
|
||||||
|
|
@ -109,7 +109,7 @@
|
||||||
integer idx1=0 idx2=0 idx3=0
|
integer idx1=0 idx2=0 idx3=0
|
||||||
if (( ((idx1 = $loaded_plugins[(I)$p]) || (idx2 = $zsh_loaded_plugins[(I)$p])) && \
|
if (( ((idx1 = $loaded_plugins[(I)$p]) || (idx2 = $zsh_loaded_plugins[(I)$p])) && \
|
||||||
! $not_existing[(I)$p] || (idx3 = $on_demand_skip[(I)$p])
|
! $not_existing[(I)$p] || (idx3 = $on_demand_skip[(I)$p])
|
||||||
)) && [[ $p != zdharma/null ]] {
|
)) && [[ $p != zdharma-continuum/null ]] {
|
||||||
idx3=$on_demand_skip[(I)$p]
|
idx3=$on_demand_skip[(I)$p]
|
||||||
local idtxt="{dbg}${p//\//∕} "
|
local idtxt="{dbg}${p//\//∕} "
|
||||||
if (( (idx1 || idx2) && !idx3 )) {
|
if (( (idx1 || idx2) && !idx3 )) {
|
||||||
|
|
@ -138,8 +138,8 @@
|
||||||
if (( ( $not_existing[(I)$p] || \
|
if (( ( $not_existing[(I)$p] || \
|
||||||
! ($loaded_plugins[(I)$p] || $zsh_loaded_plugins[(I)$p]) ) && \
|
! ($loaded_plugins[(I)$p] || $zsh_loaded_plugins[(I)$p]) ) && \
|
||||||
! $on_demand_skip[(I)$p]
|
! $on_demand_skip[(I)$p]
|
||||||
)) || [[ $p == zdharma/null ]] {
|
)) || [[ $p == zdharma-continuum/null ]] {
|
||||||
# The ↑zdharma/null↑ is a bogus exception, as this plugin will never
|
# The ↑zdharma-continuum/null↑ is a bogus exception, as this plugin will never
|
||||||
# be loaded under the direct name.
|
# be loaded under the direct name.
|
||||||
ZINIT[annex-before-load:new-@]+="$ice_list_data @${(q)p} "
|
ZINIT[annex-before-load:new-@]+="$ice_list_data @${(q)p} "
|
||||||
Zinit_Annex_Meta_Plugins[annex-loaded-plugins]+=" ${(q)p}"
|
Zinit_Annex_Meta_Plugins[annex-loaded-plugins]+=" ${(q)p}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue