about summary refs log tree commit diff
path: root/Src/init.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-03-14 11:12:08 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-03-14 11:12:08 +0000
commite91bdf82c9c7b9589bfd813cd7f571d50090f05b (patch)
tree5cd5e45d947125500f6cdf3e1748dc02872a2e21 /Src/init.c
parent0e7c726c326ec255e00ce43818c793d974bc2268 (diff)
downloadzsh-e91bdf82c9c7b9589bfd813cd7f571d50090f05b.tar.gz
zsh-e91bdf82c9c7b9589bfd813cd7f571d50090f05b.tar.xz
zsh-e91bdf82c9c7b9589bfd813cd7f571d50090f05b.zip
zsh-workers/10128
Diffstat (limited to 'Src/init.c')
-rw-r--r--Src/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/init.c b/Src/init.c
index fa3102a9b..288f95f1b 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -90,6 +90,8 @@ mod_export sigset_t sigchld_mask;
 /**/
 mod_export struct hookdef zshhooks[] = {
     HOOKDEF("exit", NULL, HOOKF_ALL),
+    HOOKDEF("before_trap", NULL, HOOKF_ALL),
+    HOOKDEF("after_trap", NULL, HOOKF_ALL),
 };
 
 /* keep executing lists until EOF found */