Hello,
The background: I was searching for a way to completely disable the
command history in psql (PostgreSQL front-end).
The manual page for readline(3) says:
----------- sample begins -------------------------------
history-size (0)
Set the maximum number of history entries saved in the
history list. If set to zero, the number of entries in the
history list is not limited.
----------- sample ends ---------------------------------
The same information is in the other readline docs too.
However, that information seems to be wrong. In my
~/.inputrc I have the following:
----------- sample begins -------------------------------
$if psql
set disable-completion on
set history-size 0
$endif
----------- sample ends ---------------------------------
and the psql command history will remain empty (just like
I wanted it to be).
Regards,
vmk
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline