Skip to content

Commit a3f6bb2

Browse files
authored
Update z-a-meta-plugins.plugin.zsh (#6)
1 parent a7b5d6a commit a3f6bb2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

z-a-meta-plugins.plugin.zsh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ Plugins[META_PLUGINS_DIR]="${0:h}"
2121

2222
# The Proposed Function-Name Prefixes
2323
# https://z.digitalclouds.dev/community/zsh_plugin_standard/#the-proposed-function-name-prefixes
24-
autoload -Uz →za-meta-plugins-before-load-handler
24+
autoload -Uz →za-meta-plugins-before-load-handler \
25+
→za-meta-plugins-meta-cmd \
26+
→za-meta-plugins-meta-cmd-help-handler
2527

2628
# An empty stub to fill the help handler fields
2729
→za-meta-plugins-help-null-handler() { :; }
@@ -31,6 +33,11 @@ autoload -Uz →za-meta-plugins-before-load-handler
3133
→za-meta-plugins-before-load-handler \
3234
→za-meta-plugins-help-null-handler "skip''" # Add a new ice
3335

36+
# The subcommand `meta'.
37+
@zi-register-annex "z-a-meta-plugins" subcommand:meta \
38+
→za-meta-plugins-meta-cmd \
39+
→za-meta-plugins-meta-cmd-help-handler
40+
3441
# The map in which the definitions of the meta-plugins are being stored.
3542
typeset -gA zi_annex_meta_plugins_map
3643
zi_annex_meta_plugins_map=(

0 commit comments

Comments
 (0)