Simply load like a regular plugin, i.e.:
zi light yehvaed/z-a-functional-hooks
After executing this command you can use function named the same as a hook.
atclone() {
# run code at clone
}
atpull() {
# run code at pull
}
atinit() {
# run code at init
}
atload() {
# run code at load
}
zi light z-shell/null
}
Note
- This repository compatible with Zi
- This is unofficial annex not supported by Zi organization
- README was reused form official annexes