diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-07-17 11:27:55 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-07-17 11:27:55 +0000 |
commit | 0409391c7d08016de3f1ea8b1a74d5856669ffaa (patch) | |
tree | 08c73dd57ba775e380384f3b408cfda4446c1861 /Src/init.c | |
parent | 4f7cf022b6963985a75c5a00ef59c7168551b225 (diff) | |
download | zsh-0409391c7d08016de3f1ea8b1a74d5856669ffaa.tar.gz zsh-0409391c7d08016de3f1ea8b1a74d5856669ffaa.tar.xz zsh-0409391c7d08016de3f1ea8b1a74d5856669ffaa.zip |
25272: add zshaddhistory hook
Diffstat (limited to 'Src/init.c')
-rw-r--r-- | Src/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/init.c b/Src/init.c index e3c89008a..7a64df17e 100644 --- a/Src/init.c +++ b/Src/init.c @@ -175,7 +175,7 @@ loop(int toplevel, int justonce) addlinknode(args, dupstring(getjobtext(prog, NULL))); addlinknode(args, cmdstr = getpermtext(prog, NULL)); - callhookfunc("preexec", args, 1); + callhookfunc("preexec", args, 1, NULL); /* The only permanent storage is from getpermtext() */ zsfree(cmdstr); |