Rename the handler from :za-* to →za-* to allow using on Windows

This commit is contained in:
Sebastian Gniazdowski 2020-02-18 02:50:54 +01:00
parent 4987e47e70
commit b1fae25c20
2 changed files with 6 additions and 6 deletions

View file

@ -4,18 +4,18 @@
0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}"
0="${${(M)0:#/*}:-$PWD/$0}"
autoload -Uz :za-patch-dl-handler
autoload -Uz za-patch-dl-handler
# An empty stub to fill the help handler fields
:za-patch-dl-help-null-handler() { :; }
za-patch-dl-help-null-handler() { :; }
# Register !atclone hook
@zinit-register-annex "z-a-patch-dl" hook:\!atclone \
:za-patch-dl-handler \
:za-patch-dl-help-null-handler \
za-patch-dl-handler \
za-patch-dl-help-null-handler \
"dl''|patch''" # register a new ice-mod: test''
# Register !atpull hook
@zinit-register-annex "z-a-patch-dl" hook:\!atpull \
:za-patch-dl-handler \
:za-patch-dl-help-null-handler
za-patch-dl-handler \
za-patch-dl-help-null-handler