chickadee » readline » install-history-file

(install-history-file [homedir] [filename] [nlines])procedure

If you also want to make the command history span sessions, add the following to your ~/.csirc:


By default this will save 1000 lines of history between sessions (it will prune the history file to 1000 lines at startup). For a different history size, pass the desired number of lines as the (optional) second argument to history-install-file-manager. If #f or no second argument is passed in, no history-file-pruning will take place.

NOTE Do not use this in conjunction with rlwrap. The maintainer did so and experience some very weird behavior from csi.