From 732a75754b96ce9c1280e68b447062d7b813d45c Mon Sep 17 00:00:00 2001 From: Simon Let Date: Wed, 22 Jan 2020 20:11:13 +0100 Subject: [PATCH] bugfix: histfile fullRecords were not getting new records ctrl+R was stuck with history from time when the daemon started --- pkg/histfile/histfile.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/histfile/histfile.go b/pkg/histfile/histfile.go index 5436ee4..c3eb7ab 100644 --- a/pkg/histfile/histfile.go +++ b/pkg/histfile/histfile.go @@ -179,6 +179,7 @@ func (h *Histfile) mergeAndWriteRecord(part1, part2 records.Record) { cmdLine := part1.CmdLine h.bashCmdLines.AddCmdLine(cmdLine) h.zshCmdLines.AddCmdLine(cmdLine) + h.fullRecords.AddRecord(part1) }() writeRecord(part1, h.historyPath)