News for hackers. Stuff that matters.
Re:Show HN: McFly, a smart Bash history search CLI in Rust w... by tectonic on Monday December 03, 2018 @06:57PM (#18594450)
I do actually append to it:

PROMPT_COMMAND="__last_exit=\$?;history -a \$MCFLY_HISTORY;mcfly add --exit \$__last_exit --append-to-histfile;history -cr \$MCFLY_HISTORY;${PROMPT_COMMAND}"

There are no comments on this comment yet.