about summary refs log tree commit diff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2017-06-07 10:03:41 +0100
committerPeter Stephenson <pws@zsh.org>2017-06-07 10:03:41 +0100
commitd4947e67cc17432372f721928e7a47031460fce0 (patch)
treef3aaff0ff8f25a82660eccc1ce0c8117deb353eb /Src/zsh.h
parentd6d7ef2a0dbf3662eaa132040d2ddfdd7625a3ea (diff)
downloadzsh-d4947e67cc17432372f721928e7a47031460fce0.tar.gz
zsh-d4947e67cc17432372f721928e7a47031460fce0.tar.xz
zsh-d4947e67cc17432372f721928e7a47031460fce0.zip
41239: Save and restore default history event on context stack.
This ensures that the default event set by an expansion in ZLE
doesn't propagate to the command line expansion.
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 22f73f806..137b2a52a 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -2918,6 +2918,7 @@ struct hist_stack {
     int histdone;
     int stophist;
     int hlinesz;
+    zlong defev;
     char *hline;
     char *hptr;
     short *chwords;