haskeline icon indicating copy to clipboard operation
haskeline copied to clipboard

Support flushing command history

Open 414owen opened this issue 5 years ago • 3 comments

Doesn't look like https://github.com/judah/haskeline/pull/36 will be updated, I'm happy to pick up where that PR left off.

Changes:

  • History is appended instead of overwritten
  • Can be enabled via the preference incAppendHistory (based on ZSH's INC_APPEND_HISTORY)

Regressions:

In order to append to history file, items are now written in the order they were entered. This is the opposite of the previous behavior, so when applications upgrade, their history up to that point will be in reverse order.

414owen avatar Nov 30 '20 20:11 414owen

@414owen hey, sorry for disappearing, happy for you to pick it up!

nkartashov avatar Dec 04 '20 21:12 nkartashov

:wave: @judah

414owen avatar Apr 18 '21 19:04 414owen