diff options
Diffstat (limited to 'Etc/zsh-development-guide')
-rw-r--r-- | Etc/zsh-development-guide | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Etc/zsh-development-guide b/Etc/zsh-development-guide index 09a34e41f..fa4b816aa 100644 --- a/Etc/zsh-development-guide +++ b/Etc/zsh-development-guide @@ -810,6 +810,31 @@ that are changed or called very often. These functions, structure defining the hook instead of the name and otherwise behave like their counterparts. +The following hooks are defined by the standard set of modules and may be +referenced by other modules. Each has a corresponding macro name that +points into the definition structure, to avoid repeating the hook names +as strings: + + zsh/main + after_trap AFTERTRAPHOOK + before_trap BEFORETRAPHOOK + exit EXITHOOK + + zsh/complete + compctl_make COMPCTLMAKEHOOK + compctl_cleanup COMPCTLCLEANUPHOOK + insert_match INSERTMATCHHOOK + comp_list_matches COMPLISTMATCHESHOOK + menu_start MENUSTARTHOOK + + zsh/zle + before_complete BEFORECOMPHOOK + complete COMPLETEHOOK + after_complete AFTERCOMPHOOK + accept_completion ACCEPTCOMPHOOK + list_matches LISTMATCHESHOOK + invalidate_list INVALIDATELISTHOOK + Wrappers -------- |