So, I enjoy the option of using the up and down arrow keys to search through the command history in Swi-Prolog instead of retyping commands. I want to know how I can delete the command history.
Asked
Active
Viewed 696 times
1 Answers
1
The history is per-directory kept in ~/.swipl-dir-history
. The files there are base32 encoded directory names. So, stop Prolog, find the right file, delete it and restart Prolog.

Jan Wielemaker
- 1,670
- 10
- 18