about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2002-04-17 10:05:30 +0000
committerWayne Davison <wayned@users.sourceforge.net>2002-04-17 10:05:30 +0000
commitbd18159f4c69624ddce1374269758b9c6a589195 (patch)
treed434ebf6611df5a0bad3be1304b5696f982d96ec /Src
parent11480f03731f4475456b320fbaf9e67bd6c8c1d0 (diff)
downloadzsh-bd18159f4c69624ddce1374269758b9c6a589195.tar.gz
zsh-bd18159f4c69624ddce1374269758b9c6a589195.tar.xz
zsh-bd18159f4c69624ddce1374269758b9c6a589195.zip
Allow HISTSIZE to get down to 1 line.
Diffstat (limited to 'Src')
-rw-r--r--Src/params.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/params.c b/Src/params.c
index 8ead6d69d..ef6016294 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -2770,8 +2770,8 @@ histsizegetfn(Param pm)
 void
 histsizesetfn(Param pm, zlong v)
 {
-    if ((histsiz = v) <= 2)
-	histsiz = 2;
+    if ((histsiz = v) < 1)
+	histsiz = 1;
     resizehistents();
 }