News for hackers. Stuff that matters.
Re:Ask HN: What do you love/hate about terminals? Would you ... by chainsaw10 on Wednesday December 27, 2017 @02:34PM (#16017307)
You can do something similar with bash. If you set PROMPT_COMMAND='history -a', it'll append to the history file right after the command completes (because the prompt command is run as the prompt is printed).
Re:Ask HN: What do you love/hate about terminals? Would you ... by baq on Thursday December 28, 2017 @03:20PM (#16024619)
thanks, i'm sure you've just saved a couple hours for a future me :)