Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 798 Bytes

README.md

File metadata and controls

47 lines (34 loc) · 798 Bytes

❮ Zi ❯ Annex - functional-hooks

An annex delivers the capability to use functions instead of params hooks

Install

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