Hacker News new | ask | show | jobs
by LukeShu 3671 days ago
That does make multiple terminals play nice with eachother, but it's still different, as OP's still flushes to HISTFILE after every command. But, then we can do that with

    PROMPT_COMMAND='history -a'