about summary refs log tree commit diff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2018-01-24 17:40:56 +0000
committerPeter Stephenson <pws@zsh.org>2018-01-24 17:40:56 +0000
commit758966502caa6f91abcbaaebf2610609250de1fb (patch)
tree9673d0a7f76f5366c1c8d473c9cfd700f690609c /Src/zsh.h
parent110b13e1090bc31ac1352b28adc2d02b6d25a102 (diff)
downloadzsh-758966502caa6f91abcbaaebf2610609250de1fb.tar.gz
zsh-758966502caa6f91abcbaaebf2610609250de1fb.tar.xz
zsh-758966502caa6f91abcbaaebf2610609250de1fb.zip
42322 (tweaked): Fix interactive_comments history with just a coment.
Don't discard the line from the history merely because it produced
no synactic words.
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 ba2f8cd9f..8b4898477 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -2997,6 +2997,7 @@ struct hist_stack {
     void (*addtoline) _((int));
     unsigned char *cstack;
     int csp;
+    int hist_keep_comment;
 };
 
 /*