From 7929d97254f84932ab79baf613f3f300ca0a5f84 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 9 Nov 2006 11:04:10 +0000 Subject: 22984: add zshexit hook --- Src/builtin.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Src/builtin.c') diff --git a/Src/builtin.c b/Src/builtin.c index ff40c8b70..70de5bcec 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -4436,6 +4436,7 @@ zexit(int val, int from_where) } if (sigtrapped[SIGEXIT]) dotrap(SIGEXIT); + callhookfunc("zshexit", NULL, 1); runhookdef(EXITHOOK, NULL); if (opts[MONITOR] && interact && (SHTTY != -1)) { release_pgrp(); -- cgit 1.4.1