history-size reported as "0" even is value is "-1"
From:
Sebastian Carlos
Subject:
history-size reported as "0" even is value is "-1"
Date:
Sun, 16 Jul 2023 13:28:24 +0200
Hello,
history-size is documented as follows:
> If set to a value less than zero, the number of history entries is not
limited.
But after setting it to "-1", for example with this line in .inputrc:
> set history-size -1
It is still reported as "0" in "bind -v":
> set history-size 0
Nevertheless, it's clear that the actual value is not zero because, for
example, history entries are not deleted.
Thanks.