PublicShow -- Per-directory persistent commandline history

This module implements persistency of the commandline history over Prolog sessions on Prolog installations that are based on the GNU readline library (default for the development version on Unix systems).

The history is stored in the directory <config>/dir-history. For each directory for which it keeps the history, there is file whose name is the base32 encoding of the directory path.

This file is normally loaded when Prolog is started if user_input is a terminal and the system supports history.

Source prolog_history(+Action) is det
Execute Action on the history. Action is one of
Enable history. First loads history for the current directory. Loading the history is done at most once.
Sets the Prolog flag save_history to false, such that the history is not saved on halt.