0

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.

false
  • 10,264
  • 13
  • 101
  • 209
quixote
  • 195
  • 1
  • 7

1 Answers1

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