add HISTSIZE for readline to limit the number of cached commands

This commit is contained in:
chenxiaobin
2021-03-19 15:39:15 +08:00
parent f72445a6cf
commit ee87e03e47
9 changed files with 96 additions and 1 deletions

View File

@ -2833,6 +2833,22 @@ bar
</listitem>
</varlistentry>
<varlistentry>
<term><varname>HISTSIZE</varname></term>
<listitem>
<para>
The number of commands to store in the command history. The
default value is 500.
</para>
<note>
<para>
This feature was shamelessly plagiarized from
<application>Bash</application>.
</para>
</note>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>HOST</varname></term>
<listitem>