diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2002-04-17 10:05:30 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2002-04-17 10:05:30 +0000 |
commit | bd18159f4c69624ddce1374269758b9c6a589195 (patch) | |
tree | d434ebf6611df5a0bad3be1304b5696f982d96ec | |
parent | 11480f03731f4475456b320fbaf9e67bd6c8c1d0 (diff) | |
download | zsh-bd18159f4c69624ddce1374269758b9c6a589195.tar.gz zsh-bd18159f4c69624ddce1374269758b9c6a589195.tar.xz zsh-bd18159f4c69624ddce1374269758b9c6a589195.zip |
Allow HISTSIZE to get down to 1 line.
-rw-r--r-- | Src/params.c | 4 |
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(); } |